Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 210.7 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 63.84 kB / 347.2 MB, free: 9.961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2415, allocations: 49.16 MB / 396.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003556/0.2451, allocations: 2.56 MB / 398.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2463, allocations: 0.6638 MB / 399.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.2464, allocations: 3.25 kB / 399.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.2466, allocations: 47.33 kB / 399.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.2467, allocations: 100.1 kB / 399.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.247, allocations: 80.81 kB / 399.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.2474, allocations: 381.4 kB / 400.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.2476, allocations: 88.38 kB / 400.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.2478, allocations: 157.3 kB / 400.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.2479, allocations: 138.5 kB / 400.6 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.248, allocations: 33.59 kB / 400.6 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.028e-05/0.2481, allocations: 35.16 kB / 400.6 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.2481, allocations: 76.48 kB / 400.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.2482, allocations: 137.8 kB / 400.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.2487, allocations: 385.9 kB / 401.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2487, allocations: 0 / 401.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2487, allocations: 0 / 401.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2487, allocations: 0 / 401.2 MB, free: 5.871 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001142/0.2498, allocations: 0.5859 MB / 401.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2499, allocations: 10.69 kB / 401.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.402e-05/0.2499, allocations: 56.47 kB / 401.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.25, allocations: 41.5 kB / 401.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.2503, allocations: 211.8 kB / 402.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2503, allocations: 19.94 kB / 402.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.2504, allocations: 28.06 kB / 402.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.251, allocations: 358.5 kB / 402.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.251, allocations: 0 / 402.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.251, allocations: 10.41 kB / 402.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.251, allocations: 5.812 kB / 402.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007232/0.2518, allocations: 252.6 kB / 402.8 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.2532, allocations: 0.9885 MB / 403.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.2539, allocations: 202.1 kB / 404 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.2542, allocations: 86.56 kB / 404 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2542, allocations: 1.844 kB / 404 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004325/0.2547, allocations: 221.7 kB / 404.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.2547, allocations: 0 / 404.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.00198/0.2567, allocations: 445.6 kB / 404.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.2567, allocations: 110.4 kB / 404.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.257, allocations: 289.2 kB / 405.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.257, allocations: 32.64 kB / 405.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.2571, allocations: 202.7 kB / 405.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.2571, allocations: 41.06 kB / 405.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.114e-05/0.2572, allocations: 53.14 kB / 405.4 MB, free: 3.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.2573, allocations: 331.6 kB / 405.7 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.2576, allocations: 124 kB / 405.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.258, allocations: 285.2 kB / 406.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.2586, allocations: 304.8 kB / 406.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2586, allocations: 2.5 kB / 406.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001131/0.2597, allocations: 448.4 kB / 406.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.2597, allocations: 39.17 kB / 406.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2597, allocations: 6.688 kB / 406.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.2601, allocations: 72.98 kB / 407 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.2603, allocations: 50.03 kB / 407 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.2622, allocations: 1.597 MB / 408.6 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.2625, allocations: 56.16 kB / 408.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.2626, allocations: 14.31 kB / 408.7 MB, free: 0.5938 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.2627, allocations: 150.2 kB / 408.8 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.2627, allocations: 33.31 kB / 408.9 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.2628, allocations: 22.11 kB / 408.9 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2628, allocations: 1.438 kB / 408.9 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2628, allocations: 1.938 kB / 408.9 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2628, allocations: 0.7031 kB / 408.9 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.263, allocations: 245.1 kB / 409.1 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2631, allocations: 0.9375 kB / 409.1 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.2632, allocations: 17.94 kB / 409.2 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.2634, allocations: 76.19 kB / 409.2 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.2634, allocations: 6.047 kB / 409.2 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.2657, allocations: 1.587 MB / 410.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2657, allocations: 0 / 410.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2667, allocations: 309.8 kB / 411.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.2668, allocations: 39.5 kB / 411.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.2669, allocations: 1.766 kB / 411.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.2671, allocations: 34.55 kB / 411.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.2672, allocations: 20.88 kB / 411.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2672, allocations: 11.67 kB / 411.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002377/0.2675, allocations: 200.5 kB / 411.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2675, allocations: 0 / 411.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.2678, allocations: 76.3 kB / 411.5 MB, free: 14.49 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/0.2692, allocations: 0.8416 MB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.2702, allocations: 439 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2702, allocations: 1.969 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.2707, allocations: 224.2 kB / 413 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.271, allocations: 46.02 kB / 413 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/0.2764, allocations: 3.123 MB / 416.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.2765, allocations: 141.2 kB / 416.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.2766, allocations: 22.08 kB / 416.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.2768, allocations: 83.69 kB / 416.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2768, allocations: 0 / 416.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/0.3194, allocations: 7.439 MB / 423.8 MB, free: 6.559 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.08, allocations: 3.938 kB / 423.9 MB, free: 6.555 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vIn.signalSource.y in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv. Warning: Get data of variable vIn.signalSource.y from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.498722824733704]