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.001682/0.001682, allocations: 73.95 kB / 21.24 MB, free: 0.5547 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.001912/0.001912, allocations: 151.1 kB / 24.49 MB, free: 3.723 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.456/1.456, allocations: 173.4 MB / 201.1 MB, free: 12.71 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.001547/0.001547, allocations: 50.83 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09247/0.09402, allocations: 52.16 MB / 371.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004321/0.09834, allocations: 2.611 MB / 374.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.09953, allocations: 0.6232 MB / 374.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.09966, allocations: 4 kB / 374.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.09981, allocations: 43.52 kB / 374.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1, allocations: 99.17 kB / 375 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1003, allocations: 83.89 kB / 375.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.1007, allocations: 374.5 kB / 375.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.1009, allocations: 87.28 kB / 375.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.1011, allocations: 151.4 kB / 375.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1013, allocations: 143.3 kB / 375.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.367e-05/0.1014, allocations: 36 kB / 375.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.1014, allocations: 32 kB / 375.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.1015, allocations: 71.7 kB / 375.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.1017, allocations: 139.4 kB / 376.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.1022, allocations: 382.5 kB / 376.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1022, allocations: 4 kB / 376.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1022, allocations: 0 / 376.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1022, allocations: 0 / 376.4 MB, free: 2.438 MB / 334.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.001338/0.1035, allocations: 0.5858 MB / 377 MB, free: 1.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1036, allocations: 12.92 kB / 377 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.1037, allocations: 36.75 kB / 377.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.104, allocations: 211 kB / 377.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.104, allocations: 16.88 kB / 377.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.1041, allocations: 28.31 kB / 377.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007463/0.1048, allocations: 354.4 kB / 377.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1048, allocations: 4 kB / 377.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.1049, allocations: 12 kB / 377.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1049, allocations: 4 kB / 377.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008473/0.1057, allocations: 249.8 kB / 377.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.1074, allocations: 0.9398 MB / 378.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008492/0.1083, allocations: 206.5 kB / 379.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.1086, allocations: 88.8 kB / 379.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1086, allocations: 0 / 379.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005209/0.1091, allocations: 221.3 kB / 379.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1091, allocations: 0 / 379.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002224/0.1114, allocations: 441.8 kB / 379.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/0.1115, allocations: 106.8 kB / 379.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1118, allocations: 265.8 kB / 380.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1118, allocations: 33.7 kB / 380.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.112, allocations: 204 kB / 380.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.112, allocations: 47.62 kB / 380.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1121, allocations: 49.95 kB / 380.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1123, allocations: 334.8 kB / 380.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.1127, allocations: 121.9 kB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.1132, allocations: 283.2 kB / 381.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008734/0.1141, allocations: 304.3 kB / 381.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1141, allocations: 0 / 381.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001304/0.1154, allocations: 461.4 kB / 382 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.1155, allocations: 29.7 kB / 382 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1155, allocations: 4 kB / 382 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.1158, allocations: 72.8 kB / 382.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.1161, allocations: 55.94 kB / 382.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.1187, allocations: 1.569 MB / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.1191, allocations: 55.86 kB / 383.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.1191, allocations: 12 kB / 383.8 MB, free: 10.58 MB / 350.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.0001681/0.1193, allocations: 149.7 kB / 383.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.1193, allocations: 27.8 kB / 383.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.1194, allocations: 21.77 kB / 384 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1194, allocations: 4 kB / 384 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1194, allocations: 4 kB / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1194, allocations: 0 / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.1197, allocations: 201.2 kB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1197, allocations: 3.938 kB / 384.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.1198, allocations: 19.97 kB / 384.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002744/0.1201, allocations: 76.72 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1201, allocations: 4 kB / 384.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.1225, allocations: 1.57 MB / 385.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1225, allocations: 0 / 385.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.1237, allocations: 313.5 kB / 386.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.392e-05/0.1237, allocations: 47.77 kB / 386.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.1238, allocations: 3.938 kB / 386.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.124, allocations: 31.95 kB / 386.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.1241, allocations: 23.97 kB / 386.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1241, allocations: 4 kB / 386.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.1243, allocations: 181.2 kB / 386.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1243, allocations: 4 kB / 386.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.1247, allocations: 79.83 kB / 386.5 MB, free: 7.66 MB / 350.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.0001197/0.1248, allocations: 107.2 kB / 386.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.1259, allocations: 439.6 kB / 387 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1259, allocations: 0 / 387 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.1264, allocations: 215.2 kB / 387.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.1267, allocations: 40.42 kB / 387.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1277, allocations: 464.2 kB / 387.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.1279, allocations: 142.9 kB / 387.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.05e-05/0.128, allocations: 26.27 kB / 387.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.128, allocations: 24.5 kB / 387.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.128, allocations: 0 / 387.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of Templates: time 0.008899/0.1369, allocations: 4.053 MB / 392 MB, free: 2.152 MB / 350.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.355087438016199]