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.0009075/0.0009075, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0008906/0.0008906, allocations: 178.3 kB / 24.92 MB, free: 8.766 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.9205/0.9205, allocations: 177.1 MB / 205.3 MB, free: 5.445 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 9.72e-07/9.72e-07, allocations: 0 / 273.5 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.699e-05, allocations: 2.312 kB / 273.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003605/0.003622, allocations: 4.356 MB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.005443, allocations: 1.312 MB / 279.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.005643, allocations: 15.88 kB / 279.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.005962, allocations: 146.7 kB / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.006269, allocations: 214.1 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.006639, allocations: 219.5 kB / 279.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.007181, allocations: 0.7938 MB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.007422, allocations: 189 kB / 280.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/0.007837, allocations: 450.9 kB / 281.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.008088, allocations: 251.2 kB / 281.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.00815, allocations: 68 kB / 281.5 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.008236, allocations: 68 kB / 281.6 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.008319, allocations: 151.4 kB / 281.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.008473, allocations: 239.4 kB / 281.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.008877, allocations: 0.4942 MB / 282.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.008881, allocations: 3.984 kB / 282.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.008881, allocations: 0 / 282.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.008888, allocations: 0 / 282.4 MB, free: 8.23 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.0008728/0.009761, allocations: 0.8618 MB / 283.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.00979, allocations: 8.031 kB / 283.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.009979, allocations: 116.8 kB / 283.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.01028, allocations: 295.6 kB / 283.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.01031, allocations: 49.69 kB / 283.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.01036, allocations: 52.38 kB / 283.8 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.01079, allocations: 0.5857 MB / 284.4 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.0108, allocations: 4.141 kB / 284.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.01083, allocations: 31.94 kB / 284.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.01084, allocations: 12 kB / 284.4 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.01101, allocations: 137.1 kB / 284.6 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.01238, allocations: 1.235 MB / 285.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.01266, allocations: 243.4 kB / 286 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.01306, allocations: 349.7 kB / 286.4 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.01308, allocations: 8.328 kB / 286.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.01332, allocations: 402.2 kB / 286.8 MB, free: 3.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.463e-06/0.01332, allocations: 0 / 286.8 MB, free: 3.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.001324/0.01465, allocations: 0.7897 MB / 287.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.01472, allocations: 247.3 kB / 287.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.01493, allocations: 355.2 kB / 288.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.01496, allocations: 41.69 kB / 288.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.01508, allocations: 285.6 kB / 288.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.01514, allocations: 146.7 kB / 288.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-05/0.01523, allocations: 90.14 kB / 288.7 MB, free: 1.594 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.01532, allocations: 358.7 kB / 289.1 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/0.01538, allocations: 52.92 kB / 289.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.01556, allocations: 400.9 kB / 289.5 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.01577, allocations: 271.4 kB / 289.8 MB, free: 368 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01577, allocations: 0 / 289.8 MB, free: 368 kB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.09229/0.1081, allocations: 462 kB / 290.2 MB, free: 24.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1081, allocations: 6.312 kB / 290.2 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.1081, allocations: 4.062 kB / 290.2 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/0.1087, allocations: 254.3 kB / 290.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.1089, allocations: 72.53 kB / 290.6 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.1107, allocations: 2.128 MB / 292.7 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.111, allocations: 80.97 kB / 292.8 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.111, allocations: 14.25 kB / 292.8 MB, free: 23.59 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.0001362/0.1111, allocations: 152.2 kB / 292.9 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.1112, allocations: 43.38 kB / 293 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.1112, allocations: 55.86 kB / 293 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1112, allocations: 5.109 kB / 293 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1112, allocations: 0 / 293 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1112, allocations: 1.922 kB / 293 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008116/0.112, allocations: 0.6848 MB / 293.7 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.112, allocations: 0.6562 kB / 293.7 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.1121, allocations: 30.36 kB / 293.7 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/0.1126, allocations: 252.8 kB / 294 MB, free: 23.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1126, allocations: 7.281 kB / 294 MB, free: 23.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.114, allocations: 2.066 MB / 296.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.114, allocations: 0.75 kB / 296.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.1145, allocations: 0.5269 MB / 296.6 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.1146, allocations: 51.28 kB / 296.6 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.1146, allocations: 10.5 kB / 296.6 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1148, allocations: 36.69 kB / 296.7 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.1148, allocations: 36.81 kB / 296.7 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1149, allocations: 9.75 kB / 296.7 MB, free: 21.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.115, allocations: 154.1 kB / 296.9 MB, free: 21.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.115, allocations: 4.547 kB / 296.9 MB, free: 21.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004208/0.1154, allocations: 192.5 kB / 297.1 MB, free: 21.71 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.0001076/0.1155, allocations: 89.56 kB / 297.2 MB, free: 21.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005765/0.1161, allocations: 479.9 kB / 297.6 MB, free: 21.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.1161, allocations: 5.719 kB / 297.6 MB, free: 21.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.1164, allocations: 343.7 kB / 298 MB, free: 21.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.1166, allocations: 66.09 kB / 298 MB, free: 21.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1178, allocations: 0.8568 MB / 298.9 MB, free: 20.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.402e-05/0.1179, allocations: 128.7 kB / 299 MB, free: 20.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.118, allocations: 47.14 kB / 299.1 MB, free: 20.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.1181, allocations: 140.5 kB / 299.2 MB, free: 20.77 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1181, allocations: 4 kB / 299.2 MB, free: 20.76 MB / 266.7 MB Notification: Performance of Templates: time 0.009263/0.1274, allocations: 7.376 MB / 306.6 MB, free: 18.48 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: 2.736663690302521]