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.00197/0.00197, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001645/0.001645, allocations: 189.9 kB / 23.7 MB, free: 4.195 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.505/1.505, allocations: 225.7 MB / 252.5 MB, free: 12.87 MB / 206.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.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 0.001727/0.001727, allocations: 47.92 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3098, allocations: 52.2 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.007738/0.3175, allocations: 3.091 MB / 426.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.3199, allocations: 0.7792 MB / 427 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005657/0.3205, allocations: 7.938 kB / 427 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.3209, allocations: 67.36 kB / 427 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007419/0.3217, allocations: 123 kB / 427.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.3223, allocations: 143.8 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.3234, allocations: 0.4902 MB / 427.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.3238, allocations: 117 kB / 427.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.3242, allocations: 195.3 kB / 428.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.3246, allocations: 171.2 kB / 428.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.3248, allocations: 51.94 kB / 428.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.325, allocations: 48 kB / 428.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.3251, allocations: 95.69 kB / 428.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.3255, allocations: 183.2 kB / 428.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009697/0.3265, allocations: 0.5707 MB / 429.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3265, allocations: 0 / 429.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3265, allocations: 0 / 429.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.573e-05/0.3265, allocations: 0 / 429.2 MB, free: 8.344 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.002118/0.3286, allocations: 0.6262 MB / 429.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/0.3287, allocations: 8.031 kB / 429.8 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.3289, allocations: 48.66 kB / 429.9 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.3297, allocations: 262.7 kB / 430.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.3297, allocations: 33.31 kB / 430.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.3298, allocations: 40.06 kB / 430.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.3311, allocations: 493 kB / 430.7 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.3312, allocations: 3.984 kB / 430.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.3312, allocations: 16 kB / 430.7 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.3312, allocations: 8 kB / 430.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3323, allocations: 299.9 kB / 431 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00332/0.3356, allocations: 1.229 MB / 432.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.3367, allocations: 226.7 kB / 432.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.337, allocations: 80.83 kB / 432.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.3371, allocations: 4 kB / 432.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.3371, allocations: 42.55 kB / 432.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.905e-06/0.3371, allocations: 4 kB / 432.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.003104/0.3402, allocations: 0.6 MB / 433.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3403, allocations: 55.41 kB / 433.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.3409, allocations: 285.8 kB / 433.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/0.341, allocations: 25.7 kB / 433.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.3412, allocations: 232 kB / 433.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/0.3413, allocations: 63.47 kB / 433.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3415, allocations: 49.7 kB / 433.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.3417, allocations: 342.7 kB / 434.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.342, allocations: 83.97 kB / 434.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.3424, allocations: 157.4 kB / 434.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.343, allocations: 251.8 kB / 434.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3431, allocations: 0 / 434.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001508/0.3446, allocations: 426.9 kB / 435.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3446, allocations: 8 kB / 435.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3446, allocations: 4 kB / 435.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006625/0.3453, allocations: 113.7 kB / 435.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.3455, allocations: 43.92 kB / 435.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/0.3524, allocations: 3.297 MB / 438.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.3529, allocations: 35.8 kB / 438.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.3529, allocations: 15.94 kB / 438.6 MB, free: 14.38 MB / 350.1 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.0004079/0.3533, allocations: 149.8 kB / 438.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3534, allocations: 27.92 kB / 438.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.318e-05/0.3535, allocations: 30.25 kB / 438.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3535, allocations: 3.984 kB / 438.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.3535, allocations: 7.938 kB / 438.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3535, allocations: 0 / 438.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.3543, allocations: 245.1 kB / 439.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3543, allocations: 0 / 439.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.3544, allocations: 15.98 kB / 439.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006066/0.355, allocations: 117.6 kB / 439.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.355, allocations: 0 / 439.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006048/0.3611, allocations: 3.207 MB / 442.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3611, allocations: 3.938 kB / 442.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.3624, allocations: 416.9 kB / 442.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.3625, allocations: 39.67 kB / 442.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.3625, allocations: 4 kB / 442.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.3629, allocations: 23.98 kB / 442.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.363, allocations: 23.91 kB / 442.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.363, allocations: 7.984 kB / 442.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003669/0.3633, allocations: 193.2 kB / 443.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3633, allocations: 4 kB / 443.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008698/0.3642, allocations: 99.78 kB / 443.2 MB, free: 9.516 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: 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.0002059/0.3644, allocations: 103.2 kB / 443.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.3661, allocations: 0.5011 MB / 443.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.3661, allocations: 0 / 443.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006663/0.3667, allocations: 337.8 kB / 444.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.3674, allocations: 47.58 kB / 444.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.3693, allocations: 0.5697 MB / 444.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3696, allocations: 172.8 kB / 444.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.3697, allocations: 26.28 kB / 445 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.3698, allocations: 19.44 kB / 445 MB, free: 7.645 MB / 350.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3698, allocations: 0 / 445 MB, free: 7.645 MB / 350.1 MB Notification: Performance of Templates: time 0.01434/0.3841, allocations: 3.978 MB / 449 MB, free: 3.723 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] 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.848799278959632]