Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.0009677/0.0009677, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003727/0.003727, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8706/0.8706, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 3.938 kB / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.952e-05, allocations: 6.281 kB / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004579/0.004609, allocations: 3.131 MB / 329 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.005907, allocations: 0.8337 MB / 329.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.006048, allocations: 7.938 kB / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.006209, allocations: 71.28 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.006368, allocations: 126.9 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.006654, allocations: 151.7 kB / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.006988, allocations: 0.5208 MB / 330.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.007187, allocations: 117.4 kB / 330.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.00746, allocations: 295.3 kB / 331.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.007601, allocations: 143.6 kB / 331.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.007645, allocations: 52 kB / 331.3 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.007709, allocations: 51.98 kB / 331.4 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.007759, allocations: 99.61 kB / 331.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.007852, allocations: 155.7 kB / 331.6 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.008259, allocations: 0.5725 MB / 332.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.008265, allocations: 4 kB / 332.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008267, allocations: 4 kB / 332.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.008273, allocations: 0 / 332.2 MB, free: 9.031 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0007352/0.009008, allocations: 0.641 MB / 332.8 MB, free: 8.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.009041, allocations: 8.031 kB / 332.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.009167, allocations: 48.7 kB / 332.9 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.009493, allocations: 269.9 kB / 333.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.009518, allocations: 33.31 kB / 333.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.009548, allocations: 28.38 kB / 333.2 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.01002, allocations: 0.4897 MB / 333.7 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01003, allocations: 3.938 kB / 333.7 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.01006, allocations: 16 kB / 333.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.01007, allocations: 15.92 kB / 333.7 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.01042, allocations: 295.9 kB / 334 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.01162, allocations: 1.234 MB / 335.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.01197, allocations: 218.8 kB / 335.5 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.01208, allocations: 88.81 kB / 335.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.0121, allocations: 4 kB / 335.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.01212, allocations: 38.5 kB / 335.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.01212, allocations: 0 / 335.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001098/0.01322, allocations: 0.6005 MB / 336.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.01324, allocations: 55.41 kB / 336.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.01343, allocations: 281.8 kB / 336.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.01345, allocations: 29.7 kB / 336.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.01354, allocations: 240 kB / 336.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.01357, allocations: 51.53 kB / 336.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.01362, allocations: 53.66 kB / 336.9 MB, free: 4.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.01371, allocations: 338.8 kB / 337.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.01382, allocations: 83.95 kB / 337.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.01397, allocations: 161.3 kB / 337.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.01421, allocations: 241.3 kB / 337.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.01422, allocations: 0 / 337.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005163/0.01473, allocations: 426.9 kB / 338.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01475, allocations: 4 kB / 338.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01475, allocations: 4 kB / 338.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/0.01503, allocations: 113.7 kB / 338.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.452e-05/0.01511, allocations: 43.91 kB / 338.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.0173, allocations: 3.296 MB / 341.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.586e-05/0.01739, allocations: 35.77 kB / 341.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.01741, allocations: 12 kB / 341.6 MB, free: 15.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.01751, allocations: 157.8 kB / 341.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.01755, allocations: 35.91 kB / 341.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.01757, allocations: 26.11 kB / 341.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01758, allocations: 4 kB / 341.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01758, allocations: 0 / 341.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01758, allocations: 3.984 kB / 341.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.01779, allocations: 253 kB / 342.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01779, allocations: 0 / 342.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.01783, allocations: 8 kB / 342.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001917/0.01802, allocations: 117.8 kB / 342.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.01803, allocations: 0 / 342.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.02004, allocations: 3.207 MB / 345.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02004, allocations: 4.125 kB / 345.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.02049, allocations: 431.4 kB / 345.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.02051, allocations: 19.86 kB / 345.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.02053, allocations: 12 kB / 345.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.02063, allocations: 27.97 kB / 345.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.02066, allocations: 19.91 kB / 345.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.02067, allocations: 4 kB / 345.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.02079, allocations: 201.2 kB / 346.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02079, allocations: 0 / 346.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.02109, allocations: 107.7 kB / 346.2 MB, free: 10.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.729e-05/0.02118, allocations: 99.25 kB / 346.3 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005952/0.02178, allocations: 0.5036 MB / 346.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02178, allocations: 0 / 346.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.02199, allocations: 345.7 kB / 347.2 MB, free: 9.188 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.02225, allocations: 36.47 kB / 347.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.02292, allocations: 0.5853 MB / 347.8 MB, free: 8.535 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.959e-05/0.02302, allocations: 172.8 kB / 348 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.02306, allocations: 20.5 kB / 348 MB, free: 8.32 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02306, allocations: 0 / 348 MB, free: 8.32 MB / 314.7 MB Notification: Performance of Templates: time 0.00526/0.02832, allocations: 6.735 MB / 354.7 MB, free: 1.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.443044533021748]