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.0009237/0.0009237, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001148/0.001148, allocations: 145.7 kB / 24.89 MB, free: 8.727 MB / 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 0.9919/0.9919, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] 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.713e-06/1.713e-06, allocations: 0 / 268.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.548e-05, allocations: 6.25 kB / 268.6 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003741/0.003767, allocations: 3.363 MB / 271.9 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.005293, allocations: 0.8179 MB / 272.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.00546, allocations: 8 kB / 272.7 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.005641, allocations: 67.36 kB / 272.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.005846, allocations: 130.8 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.006188, allocations: 147.7 kB / 273.1 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.006679, allocations: 0.5055 MB / 273.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.006911, allocations: 126 kB / 273.7 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.00729, allocations: 287.4 kB / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.007502, allocations: 159.5 kB / 274.1 MB, free: 316 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.007554, allocations: 51.94 kB / 274.2 MB, free: 264 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.007601, allocations: 52 kB / 274.2 MB, free: 212 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.007655, allocations: 91.67 kB / 274.3 MB, free: 120 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.007765, allocations: 155.6 kB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.008057, allocations: 322.8 kB / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.00806, allocations: 0 / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.008062, allocations: 4 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.008067, allocations: 0 / 274.8 MB, free: 15.64 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.0006593/0.008726, allocations: 0.5935 MB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.008759, allocations: 16.92 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.00883, allocations: 56.89 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.009073, allocations: 210 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.009096, allocations: 29.38 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.009126, allocations: 36.38 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.009488, allocations: 394.1 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.0095, allocations: 3.938 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.009521, allocations: 16 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.009529, allocations: 15.98 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.009654, allocations: 86.95 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.0108, allocations: 1.042 MB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.01102, allocations: 118.5 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.01106, allocations: 36.83 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.01108, allocations: 4 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.01111, allocations: 38.56 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.01111, allocations: 0 / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006546/0.01177, allocations: 343.1 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.0118, allocations: 55.41 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.01195, allocations: 244.9 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.01196, allocations: 29.7 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.01205, allocations: 220.5 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.01208, allocations: 59.47 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.01214, allocations: 49.69 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.01224, allocations: 342.7 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.01228, allocations: 19.98 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.01235, allocations: 105.3 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.01248, allocations: 153.2 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01249, allocations: 0 / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002925/0.01278, allocations: 229.8 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.01279, allocations: 4 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.0128, allocations: 4.312 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.0131, allocations: 109.6 kB / 279.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.863e-05/0.01319, allocations: 43.91 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.01489, allocations: 2.71 MB / 282.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.01499, allocations: 31.78 kB / 282.2 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.015, allocations: 7.984 kB / 282.2 MB, free: 7.762 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.635e-05/0.0151, allocations: 129.8 kB / 282.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.01513, allocations: 28.05 kB / 282.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.01516, allocations: 34.09 kB / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01516, allocations: 0 / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01517, allocations: 0 / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01517, allocations: 0 / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.01533, allocations: 169.6 kB / 282.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01533, allocations: 0 / 282.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.01537, allocations: 15.98 kB / 282.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002238/0.01559, allocations: 113.6 kB / 282.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.0156, allocations: 3.938 kB / 282.7 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.01705, allocations: 2.675 MB / 285.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01705, allocations: 4 kB / 285.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.01729, allocations: 253 kB / 285.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.01731, allocations: 27.75 kB / 285.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.01733, allocations: 4 kB / 285.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.01742, allocations: 24.02 kB / 285.7 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.01746, allocations: 19.91 kB / 285.7 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.01747, allocations: 4 kB / 285.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.595e-05/0.01753, allocations: 82.78 kB / 285.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01753, allocations: 0 / 285.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.01783, allocations: 107.7 kB / 285.9 MB, free: 3.852 MB / 266.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.0001005/0.01793, allocations: 91.78 kB / 286 MB, free: 3.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003843/0.01832, allocations: 386.1 kB / 286.3 MB, free: 3.352 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.01832, allocations: 8.188 kB / 286.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.01849, allocations: 290 kB / 286.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.01871, allocations: 44.61 kB / 286.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.01969, allocations: 0.5355 MB / 287.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.73e-05/0.01976, allocations: 88.31 kB / 287.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.01983, allocations: 30.27 kB / 287.3 MB, free: 2.293 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.01993, allocations: 87.36 kB / 287.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.01994, allocations: 0 / 287.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of Templates: time 0.1111/0.131, allocations: 3.848 MB / 291.3 MB, free: 29.08 MB / 266.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 -s gbode -gbm=radauIIA3 -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","",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.8123105419799685]