Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.002534/0.002534, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002665/0.002665, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 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.509/1.509, allocations: 173.3 MB / 200.8 MB, free: 9.34 MB / 186.7 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.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 267.4 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.588e-05, allocations: 6.25 kB / 267.4 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.00526/0.005286, allocations: 3.317 MB / 270.7 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.006953, allocations: 0.7871 MB / 271.5 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.007105, allocations: 7.938 kB / 271.5 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.007305, allocations: 71.3 kB / 271.5 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.007557, allocations: 130.8 kB / 271.7 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.007882, allocations: 147.7 kB / 271.8 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.008449, allocations: 0.5056 MB / 272.3 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.008723, allocations: 117.3 kB / 272.4 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004086/0.009132, allocations: 291.4 kB / 272.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.009375, allocations: 143.6 kB / 272.9 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.534e-05/0.009461, allocations: 48 kB / 272.9 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.009546, allocations: 52 kB / 273 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.009666, allocations: 107.6 kB / 273.1 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.009859, allocations: 151.7 kB / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007245/0.01058, allocations: 0.5841 MB / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01059, allocations: 0 / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01059, allocations: 0 / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.01059, allocations: 0 / 273.8 MB, free: 252 kB / 250.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.0013/0.01189, allocations: 0.7531 MB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01193, allocations: 8.922 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.01207, allocations: 80.66 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.01253, allocations: 268.8 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.01256, allocations: 21.38 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.01262, allocations: 36.38 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008135/0.01343, allocations: 0.4914 MB / 275.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.01345, allocations: 15.88 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.0135, allocations: 15.94 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.01351, allocations: 12 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.01412, allocations: 267.9 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.01669, allocations: 1.506 MB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.01727, allocations: 215.2 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.01748, allocations: 87.66 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.01751, allocations: 4 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.01754, allocations: 33.39 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.01754, allocations: 0 / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.002054/0.0196, allocations: 0.5041 MB / 278.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.01964, allocations: 51.41 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.02009, allocations: 384.2 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.02012, allocations: 25.7 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.02035, allocations: 290.8 kB / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.02042, allocations: 67.45 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.02071, allocations: 67.31 kB / 279 MB, free: 10.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002929/0.021, allocations: 0.5196 MB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.02119, allocations: 75.95 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.02149, allocations: 196.5 kB / 279.7 MB, free: 9.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.02197, allocations: 264.4 kB / 280 MB, free: 9.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02197, allocations: 0 / 280 MB, free: 9.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009267/0.0229, allocations: 396.6 kB / 280.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.02291, allocations: 4 kB / 280.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.02292, allocations: 7.938 kB / 280.4 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006738/0.02359, allocations: 151.3 kB / 280.5 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.02375, allocations: 39.92 kB / 280.6 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.02842, allocations: 4.295 MB / 284.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.02863, allocations: 35.77 kB / 284.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.02865, allocations: 8 kB / 284.9 MB, free: 4.465 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 0.0002284/0.02888, allocations: 204.5 kB / 285.1 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.02895, allocations: 35.81 kB / 285.2 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.02901, allocations: 30.14 kB / 285.2 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002729/0.02928, allocations: 4 kB / 285.2 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.02929, allocations: 0 / 285.2 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.02929, allocations: 0 / 285.2 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.02974, allocations: 320.5 kB / 285.5 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02974, allocations: 0 / 285.5 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.02983, allocations: 19.91 kB / 285.5 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006146/0.03044, allocations: 147.3 kB / 285.7 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.03046, allocations: 11.98 kB / 285.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004382/0.03484, allocations: 4.253 MB / 289.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.03484, allocations: 0 / 289.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/0.03572, allocations: 454.8 kB / 290.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.03578, allocations: 27.84 kB / 290.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.03581, allocations: 0 / 290.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.03602, allocations: 28.17 kB / 290.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.03608, allocations: 15.91 kB / 290.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.0361, allocations: 12 kB / 290.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002855/0.03638, allocations: 249.1 kB / 290.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03638, allocations: 0 / 290.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00052/0.0369, allocations: 103.8 kB / 290.8 MB, free: 14.26 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 0.0001558/0.03706, allocations: 103.2 kB / 290.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.0382, allocations: 0.6001 MB / 291.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.03821, allocations: 0 / 291.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.03876, allocations: 451.2 kB / 291.9 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.03915, allocations: 47.05 kB / 292 MB, free: 12.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.04057, allocations: 0.5751 MB / 292.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.04077, allocations: 176.7 kB / 292.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.302e-05/0.04086, allocations: 22.28 kB / 292.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.04091, allocations: 20.5 kB / 292.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04091, allocations: 0 / 292.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of Templates: time 0.009346/0.05026, allocations: 3.67 MB / 296.5 MB, free: 8.531 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.6700184849323705]