Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001182/0.001182, allocations: 83.58 kB / 21.19 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.001338/0.001338, allocations: 161 kB / 24.56 MB, free: 12 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 1.055/1.055, allocations: 177.1 MB / 205 MB, free: 5.602 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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.327e-05, allocations: 2.312 kB / 273 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004766/0.004799, allocations: 4.431 MB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.006517, allocations: 1.254 MB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/0.006828, allocations: 23.88 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.007216, allocations: 142.8 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.007537, allocations: 214 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.007917, allocations: 223.5 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005887/0.008506, allocations: 0.7938 MB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.0088, allocations: 183.1 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.009243, allocations: 446.9 kB / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.009528, allocations: 247.2 kB / 281 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.28e-05/0.009601, allocations: 64 kB / 281 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.009713, allocations: 72 kB / 281.1 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.009819, allocations: 155.3 kB / 281.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.01003, allocations: 243.4 kB / 281.5 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.01053, allocations: 0.4981 MB / 282 MB, free: 8.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.01053, allocations: 0 / 282 MB, free: 8.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01053, allocations: 0 / 282 MB, free: 8.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.01054, allocations: 0 / 282 MB, free: 8.465 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001238/0.01178, allocations: 1.041 MB / 283 MB, free: 7.383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.01182, allocations: 12.03 kB / 283 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.01203, allocations: 136.5 kB / 283.2 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.01241, allocations: 362.4 kB / 283.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.01244, allocations: 41.69 kB / 283.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.01251, allocations: 56.38 kB / 283.6 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.01312, allocations: 0.6226 MB / 284.2 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.01313, allocations: 192 / 284.2 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.01317, allocations: 27.92 kB / 284.3 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.01318, allocations: 16 kB / 284.3 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.01349, allocations: 211.7 kB / 284.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.0153, allocations: 1.61 MB / 286.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.01573, allocations: 292.5 kB / 286.4 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.01626, allocations: 371.4 kB / 286.7 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.01629, allocations: 12.33 kB / 286.8 MB, free: 3.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003255/0.01662, allocations: 434.6 kB / 287.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.272e-06/0.01662, allocations: 0 / 287.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.001516/0.01814, allocations: 0.8118 MB / 288 MB, free: 2.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.01824, allocations: 239.3 kB / 288.2 MB, free: 1.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.01858, allocations: 442.6 kB / 288.7 MB, free: 1.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.01861, allocations: 33.7 kB / 288.7 MB, free: 1.352 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.01879, allocations: 367.4 kB / 289.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.01888, allocations: 146.7 kB / 289.2 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.01898, allocations: 95.84 kB / 289.3 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.01914, allocations: 0.5274 MB / 289.8 MB, free: 208 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.01925, allocations: 76.95 kB / 289.9 MB, free: 132 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.146/0.1653, allocations: 478.2 kB / 290.4 MB, free: 24.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.1657, allocations: 344.1 kB / 290.7 MB, free: 24.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1657, allocations: 5.469 kB / 290.7 MB, free: 24.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009662/0.1666, allocations: 0.556 MB / 291.3 MB, free: 24.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.1667, allocations: 11.73 kB / 291.3 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1667, allocations: 3.625 kB / 291.3 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/0.1674, allocations: 236.8 kB / 291.5 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1676, allocations: 82.03 kB / 291.6 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.1697, allocations: 2.752 MB / 294.3 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.17, allocations: 76.81 kB / 294.4 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.17, allocations: 19.12 kB / 294.4 MB, free: 22.15 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.1702, allocations: 192.5 kB / 294.6 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.1702, allocations: 67.73 kB / 294.7 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.1703, allocations: 51.53 kB / 294.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1703, allocations: 9.719 kB / 294.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1703, allocations: 0.7969 kB / 294.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1703, allocations: 3.516 kB / 294.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.1715, allocations: 0.9449 MB / 295.7 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1715, allocations: 0 / 295.7 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.1716, allocations: 46.02 kB / 295.7 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/0.1721, allocations: 234.3 kB / 296 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1721, allocations: 8.469 kB / 296 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.1738, allocations: 2.722 MB / 298.7 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1738, allocations: 0.6562 kB / 298.7 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.1746, allocations: 0.6698 MB / 299.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.1747, allocations: 57.94 kB / 299.4 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.1747, allocations: 10.22 kB / 299.4 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1749, allocations: 43.42 kB / 299.5 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.175, allocations: 31.8 kB / 299.5 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.175, allocations: 12.7 kB / 299.5 MB, free: 19.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002435/0.1752, allocations: 292.5 kB / 299.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1752, allocations: 0 / 299.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005349/0.1758, allocations: 184.3 kB / 300 MB, free: 19.17 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.1759, allocations: 115.4 kB / 300.1 MB, free: 19.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007365/0.1766, allocations: 0.5042 MB / 300.6 MB, free: 18.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1767, allocations: 1.531 kB / 300.6 MB, free: 18.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.177, allocations: 390.4 kB / 301 MB, free: 18.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.1774, allocations: 69.2 kB / 301 MB, free: 18.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1788, allocations: 0.8767 MB / 301.9 MB, free: 18.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1789, allocations: 127.6 kB / 302.1 MB, free: 18.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.179, allocations: 50.94 kB / 302.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.1791, allocations: 32.52 kB / 302.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1791, allocations: 0 / 302.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of Templates: time 0.01031/0.1894, allocations: 6.777 MB / 308.9 MB, free: 15.97 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.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: 3.297401638701558]