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.001333/0.001333, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00106/0.00106, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 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.9553/0.9553, allocations: 177.1 MB / 205.3 MB, free: 5.105 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 4.489e-06/4.489e-06, allocations: 0 / 273.5 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.386e-05, allocations: 2.312 kB / 273.5 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004371/0.004394, allocations: 4.416 MB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.006617, allocations: 1.3 MB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.006847, allocations: 15.94 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.007198, allocations: 138.7 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.007521, allocations: 222 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.007882, allocations: 227.5 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005908/0.008473, allocations: 0.7938 MB / 280.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.008746, allocations: 189 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.009186, allocations: 450.9 kB / 281.3 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.009464, allocations: 251.2 kB / 281.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.009536, allocations: 64 kB / 281.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.009644, allocations: 68 kB / 281.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.009736, allocations: 155.4 kB / 281.8 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.009904, allocations: 235.4 kB / 282 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.01036, allocations: 0.4982 MB / 282.5 MB, free: 8.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.01036, allocations: 0 / 282.5 MB, free: 8.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01036, allocations: 0 / 282.5 MB, free: 8.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.01037, allocations: 3.984 kB / 282.5 MB, free: 8.039 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.0009365/0.01131, allocations: 0.8694 MB / 283.4 MB, free: 7.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.01134, allocations: 8.031 kB / 283.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.01154, allocations: 116.8 kB / 283.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.01187, allocations: 291.7 kB / 283.8 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.01189, allocations: 37.69 kB / 283.8 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.01195, allocations: 60.38 kB / 283.9 MB, free: 6.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.01242, allocations: 0.5857 MB / 284.5 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.01243, allocations: 4.141 kB / 284.5 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.01246, allocations: 23.94 kB / 284.5 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.01247, allocations: 16 kB / 284.5 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.01265, allocations: 141.1 kB / 284.7 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.01438, allocations: 1.243 MB / 285.9 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.01468, allocations: 233.8 kB / 286.1 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/0.01511, allocations: 349.7 kB / 286.5 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.01513, allocations: 8.266 kB / 286.5 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.0154, allocations: 402 kB / 286.9 MB, free: 3.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.383e-06/0.0154, allocations: 0 / 286.9 MB, free: 3.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.001439/0.01684, allocations: 0.7936 MB / 287.7 MB, free: 2.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.01692, allocations: 243.3 kB / 287.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.01714, allocations: 359.2 kB / 288.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.01717, allocations: 45.69 kB / 288.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.01729, allocations: 281.5 kB / 288.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.01736, allocations: 150.7 kB / 288.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.01745, allocations: 86.16 kB / 288.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.01754, allocations: 362.7 kB / 289.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.01761, allocations: 44.98 kB / 289.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.01781, allocations: 404.9 kB / 289.6 MB, free: 496 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.01803, allocations: 271.4 kB / 289.9 MB, free: 176 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01803, allocations: 0 / 289.9 MB, free: 176 kB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.1303/0.1483, allocations: 454.9 kB / 290.3 MB, free: 25.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1483, allocations: 6.406 kB / 290.3 MB, free: 25.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1483, allocations: 6 kB / 290.3 MB, free: 25.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.149, allocations: 251.8 kB / 290.6 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.1492, allocations: 77.86 kB / 290.7 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.1513, allocations: 2.136 MB / 292.8 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.1516, allocations: 76.97 kB / 292.9 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.1517, allocations: 16.66 kB / 292.9 MB, free: 23.99 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 (42): * Single equations (assignments): 41 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.1518, allocations: 144.9 kB / 293 MB, free: 23.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.1519, allocations: 42.11 kB / 293.1 MB, free: 23.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.152, allocations: 55.03 kB / 293.1 MB, free: 23.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.152, allocations: 4.75 kB / 293.1 MB, free: 23.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.152, allocations: 8.062 kB / 293.1 MB, free: 23.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.152, allocations: 3.234 kB / 293.1 MB, free: 23.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009538/0.1529, allocations: 0.6763 MB / 293.8 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1529, allocations: 0 / 293.8 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.153, allocations: 37.52 kB / 293.8 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005279/0.1536, allocations: 251.1 kB / 294.1 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1536, allocations: 9.359 kB / 294.1 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.1552, allocations: 2.081 MB / 296.2 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1552, allocations: 4.406 kB / 296.2 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/0.1559, allocations: 0.5162 MB / 296.7 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.1559, allocations: 55.19 kB / 296.8 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.156, allocations: 11.22 kB / 296.8 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1561, allocations: 41.05 kB / 296.8 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.1562, allocations: 32.3 kB / 296.8 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1562, allocations: 8.578 kB / 296.8 MB, free: 22.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1564, allocations: 157 kB / 297 MB, free: 22.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1564, allocations: 0 / 297 MB, free: 22.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005043/0.1569, allocations: 185.5 kB / 297.2 MB, free: 22.12 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 (21): * Single equations (assignments): 19 * 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,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001171/0.157, allocations: 92.03 kB / 297.3 MB, free: 22.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006577/0.1576, allocations: 478.5 kB / 297.7 MB, free: 21.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/0.1576, allocations: 9.156 kB / 297.7 MB, free: 21.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.158, allocations: 341.4 kB / 298.1 MB, free: 21.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.1583, allocations: 73.39 kB / 298.2 MB, free: 21.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1596, allocations: 0.8529 MB / 299 MB, free: 21.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.1597, allocations: 129.1 kB / 299.1 MB, free: 21.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.1598, allocations: 46.84 kB / 299.2 MB, free: 21.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.16, allocations: 140.9 kB / 299.3 MB, free: 21.18 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.16, allocations: 1.094 kB / 299.3 MB, free: 21.18 MB / 266.7 MB Notification: Performance of Templates: time 0.01087/0.1709, allocations: 7.382 MB / 306.7 MB, free: 18.62 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 -s gbode -gbm=radauIIA3 -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: 2.8049974399618804]