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.001315/0.001315, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001548/0.001548, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9576/0.9576, allocations: 177.1 MB / 205 MB, free: 5.613 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.343e-06/1.343e-06, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.444e-05, allocations: 2.312 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.002976/0.00299, allocations: 3.391 MB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.004135, allocations: 0.8454 MB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.004292, allocations: 7.938 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.004462, allocations: 67.36 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.00466, allocations: 130.9 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.005002, allocations: 147.8 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.005398, allocations: 0.5133 MB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.005584, allocations: 117.3 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.005885, allocations: 295.4 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.006059, allocations: 151.6 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.006107, allocations: 52 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.006182, allocations: 55.98 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.006237, allocations: 107.6 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.006338, allocations: 151.7 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.006991, allocations: 318.9 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.006996, allocations: 3.984 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006997, allocations: 0 / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.007006, allocations: 0 / 279.3 MB, free: 11.13 MB / 266.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.0008447/0.007851, allocations: 0.7299 MB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.007899, allocations: 12.03 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.008091, allocations: 84.64 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.008387, allocations: 268.8 kB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.008408, allocations: 29.38 kB / 280.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.008443, allocations: 36.38 kB / 280.5 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.008897, allocations: 407.9 kB / 280.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.008912, allocations: 3.938 kB / 280.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.008947, allocations: 16 kB / 280.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.008959, allocations: 8 kB / 280.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.009178, allocations: 141.8 kB / 281.1 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.01045, allocations: 1.29 MB / 282.3 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.01073, allocations: 147.3 kB / 282.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.0108, allocations: 51.05 kB / 282.5 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.01082, allocations: 4 kB / 282.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.01084, allocations: 41.39 kB / 282.6 MB, free: 7.676 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.01085, allocations: 0 / 282.6 MB, free: 7.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000777/0.01162, allocations: 388.6 kB / 283 MB, free: 7.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.01165, allocations: 51.41 kB / 283 MB, free: 7.219 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.01185, allocations: 316.2 kB / 283.3 MB, free: 6.895 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.01186, allocations: 29.7 kB / 283.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01199, allocations: 286.8 kB / 283.6 MB, free: 6.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.01203, allocations: 63.53 kB / 283.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.01209, allocations: 51.36 kB / 283.7 MB, free: 6.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01221, allocations: 0.5078 MB / 284.3 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.01227, allocations: 31.98 kB / 284.3 MB, free: 5.902 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.01237, allocations: 140.5 kB / 284.4 MB, free: 5.719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.01254, allocations: 191.6 kB / 284.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.01254, allocations: 4 kB / 284.6 MB, free: 5.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003661/0.01291, allocations: 304.6 kB / 284.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.01292, allocations: 4 kB / 284.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01293, allocations: 4 kB / 284.9 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/0.01324, allocations: 111.4 kB / 285 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.01333, allocations: 39.92 kB / 285.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.01543, allocations: 4.01 MB / 289.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/0.01552, allocations: 27.84 kB / 289.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.01553, allocations: 12 kB / 289.1 MB, free: 0.7227 MB / 266.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 9.268e-05/0.01562, allocations: 176.4 kB / 289.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.01565, allocations: 31.86 kB / 289.3 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.01568, allocations: 30.11 kB / 289.3 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.01568, allocations: 4.031 kB / 289.4 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01568, allocations: 0 / 289.4 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.01569, allocations: 0 / 289.4 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.01587, allocations: 252.4 kB / 289.6 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01588, allocations: 0 / 289.6 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.01591, allocations: 15.98 kB / 289.6 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.01613, allocations: 115.2 kB / 289.7 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.01614, allocations: 0 / 289.7 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.01794, allocations: 3.944 MB / 293.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01794, allocations: 0 / 293.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.01824, allocations: 366.9 kB / 294 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.01826, allocations: 31.75 kB / 294.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.01828, allocations: 0 / 294.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.852e-05/0.01836, allocations: 19.98 kB / 294.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.0184, allocations: 15.97 kB / 294.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.01841, allocations: 12 kB / 294.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.01852, allocations: 217 kB / 294.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01852, allocations: 0 / 294.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.01883, allocations: 103.8 kB / 294.4 MB, free: 11.08 MB / 282.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 8.538e-05/0.01891, allocations: 107.3 kB / 294.5 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.01938, allocations: 0.5105 MB / 295 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01938, allocations: 0 / 295 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.01957, allocations: 414.8 kB / 295.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01981, allocations: 41.11 kB / 295.5 MB, free: 9.941 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008164/0.02063, allocations: 0.5452 MB / 296 MB, free: 9.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.02068, allocations: 92.3 kB / 296.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.656e-05/0.02074, allocations: 22.28 kB / 296.1 MB, free: 9.234 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.02078, allocations: 24.5 kB / 296.2 MB, free: 9.211 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02078, allocations: 0 / 296.2 MB, free: 9.211 MB / 282.7 MB Notification: Performance of Templates: time 0.005272/0.02605, allocations: 3.83 MB / 300 MB, free: 5.434 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8046021326445043]