Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 192.3 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 55.91 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 52.13 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004441/0.1095, allocations: 2.812 MB / 421.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1108, allocations: 0.6388 MB / 422.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1109, allocations: 4 kB / 422.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.1111, allocations: 51.5 kB / 422.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1113, allocations: 95.25 kB / 422.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1116, allocations: 83.83 kB / 422.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.112, allocations: 374.5 kB / 423 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1122, allocations: 90.94 kB / 423.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.1124, allocations: 147.5 kB / 423.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1126, allocations: 163.3 kB / 423.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.1127, allocations: 36 kB / 423.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-05/0.1127, allocations: 32 kB / 423.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.1128, allocations: 75.69 kB / 423.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.113, allocations: 163.2 kB / 423.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004695/0.1134, allocations: 382.4 kB / 424.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1134, allocations: 0 / 424.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1134, allocations: 0 / 424.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1135, allocations: 0 / 424.1 MB, free: 6.961 MB / 350.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.001401/0.1149, allocations: 0.6611 MB / 424.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1149, allocations: 12.03 kB / 424.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.768e-05/0.115, allocations: 32.75 kB / 424.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.1154, allocations: 284.7 kB / 425.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1155, allocations: 16.94 kB / 425.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.1155, allocations: 28.38 kB / 425.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.1162, allocations: 303.7 kB / 425.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1162, allocations: 3.938 kB / 425.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.1163, allocations: 12 kB / 425.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1163, allocations: 4 kB / 425.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.1171, allocations: 249.6 kB / 425.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.1189, allocations: 1.09 MB / 426.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.1197, allocations: 210.6 kB / 427 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.12, allocations: 88.8 kB / 427 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.12, allocations: 0 / 427 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.1205, allocations: 173.8 kB / 427.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.1205, allocations: 0 / 427.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002062/0.1226, allocations: 0.5029 MB / 427.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.1227, allocations: 106.8 kB / 427.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.123, allocations: 290.7 kB / 428.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.123, allocations: 25.7 kB / 428.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.1232, allocations: 211.9 kB / 428.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.1232, allocations: 35.69 kB / 428.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1233, allocations: 61.83 kB / 428.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1235, allocations: 330.8 kB / 428.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.1238, allocations: 100.2 kB / 428.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.1242, allocations: 198.8 kB / 429 MB, free: 1.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000716/0.125, allocations: 303.7 kB / 429.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.125, allocations: 7.938 kB / 429.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001241/0.1262, allocations: 423.8 kB / 429.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.1263, allocations: 40.19 kB / 429.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1263, allocations: 3.938 kB / 429.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.1266, allocations: 76.84 kB / 429.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.1268, allocations: 55.89 kB / 429.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.1295, allocations: 1.71 MB / 431.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.1299, allocations: 51.88 kB / 431.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.1299, allocations: 15.98 kB / 431.7 MB, free: 14.75 MB / 366.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.0001887/0.1301, allocations: 149.7 kB / 431.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.1301, allocations: 27.8 kB / 431.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.843e-05/0.1302, allocations: 25.7 kB / 431.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1302, allocations: 4 kB / 431.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1302, allocations: 4 kB / 431.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1302, allocations: 0 / 431.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.1306, allocations: 305.4 kB / 432.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1306, allocations: 192 / 432.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1307, allocations: 19.98 kB / 432.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.1309, allocations: 72.8 kB / 432.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.131, allocations: 0 / 432.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.1333, allocations: 1.696 MB / 434 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1333, allocations: 0 / 434 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.1343, allocations: 313.5 kB / 434.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1344, allocations: 116.9 kB / 434.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.1345, allocations: 8 kB / 434.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.1347, allocations: 23.97 kB / 434.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1348, allocations: 23.97 kB / 434.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1348, allocations: 4.188 kB / 434.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.1351, allocations: 201.9 kB / 434.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1351, allocations: 7.938 kB / 434.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.1355, allocations: 79.89 kB / 434.8 MB, free: 11.45 MB / 366.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.0001481/0.1356, allocations: 111.8 kB / 434.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.1366, allocations: 402.5 kB / 435.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1366, allocations: 0 / 435.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.1371, allocations: 219.2 kB / 435.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1374, allocations: 56.94 kB / 435.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1385, allocations: 497.2 kB / 436 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.1389, allocations: 0.748 MB / 436.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.139, allocations: 23.44 kB / 436.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.139, allocations: 0 / 436.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of Templates: time 0.00743/0.1464, allocations: 4.43 MB / 441.2 MB, free: 4.891 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.337473279796541]