Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.00101/0.00101, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001212/0.001212, allocations: 145.8 kB / 24.97 MB, free: 8.824 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.9382/0.9382, allocations: 173.4 MB / 201.5 MB, free: 9.309 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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 3.938 kB / 268.1 MB, free: 6.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.856e-05, allocations: 6.312 kB / 268.1 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004711/0.00473, allocations: 4.388 MB / 272.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.006581, allocations: 1.191 MB / 273.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.006829, allocations: 19.88 kB / 273.7 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.007193, allocations: 134.8 kB / 273.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.007542, allocations: 210.1 kB / 274.1 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.007901, allocations: 215.4 kB / 274.3 MB, free: 484 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006354/0.008537, allocations: 0.7822 MB / 275.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.008839, allocations: 183 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.009261, allocations: 435 kB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.009554, allocations: 243.2 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.372e-05/0.009638, allocations: 68 kB / 276 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.009723, allocations: 68 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.00984, allocations: 151.4 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.01007, allocations: 235.4 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.01059, allocations: 0.4903 MB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01059, allocations: 0 / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01059, allocations: 4 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.0106, allocations: 0 / 276.9 MB, free: 13.83 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.001323/0.01193, allocations: 1.029 MB / 277.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.01196, allocations: 12.03 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.01212, allocations: 124.5 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.01256, allocations: 358.3 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.01259, allocations: 37.69 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.01267, allocations: 60.38 kB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.0134, allocations: 0.6109 MB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.01341, allocations: 192 / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.01346, allocations: 31.94 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.01347, allocations: 12 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.01389, allocations: 211.7 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.016, allocations: 1.606 MB / 281 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.01647, allocations: 295.6 kB / 281.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/0.01711, allocations: 363.5 kB / 281.6 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.01714, allocations: 16.27 kB / 281.6 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/0.0175, allocations: 434.2 kB / 282.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.633e-06/0.0175, allocations: 0 / 282.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.001854/0.01936, allocations: 0.8005 MB / 282.9 MB, free: 7.551 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.01945, allocations: 239.3 kB / 283.1 MB, free: 7.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.01983, allocations: 442.5 kB / 283.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.01986, allocations: 33.64 kB / 283.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.02005, allocations: 371.4 kB / 283.9 MB, free: 6.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/0.02014, allocations: 150.7 kB / 284.1 MB, free: 6.254 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.02026, allocations: 95.8 kB / 284.2 MB, free: 6.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.02042, allocations: 0.5235 MB / 284.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.02056, allocations: 72.95 kB / 284.8 MB, free: 5.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.02089, allocations: 486 kB / 285.2 MB, free: 4.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.02129, allocations: 348.5 kB / 285.6 MB, free: 4.523 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02129, allocations: 3.938 kB / 285.6 MB, free: 4.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008952/0.02219, allocations: 0.5478 MB / 286.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.0222, allocations: 8 kB / 286.1 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.02221, allocations: 4 kB / 286.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006483/0.02286, allocations: 238.4 kB / 286.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.02309, allocations: 87.83 kB / 286.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.02545, allocations: 2.762 MB / 289.2 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.02573, allocations: 75.61 kB / 289.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.02576, allocations: 23.98 kB / 289.3 MB, free: 0.6523 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.0001434/0.0259, allocations: 192.4 kB / 289.5 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.02596, allocations: 55.72 kB / 289.6 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/0.02603, allocations: 56.72 kB / 289.6 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.02603, allocations: 4 kB / 289.6 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.02603, allocations: 0 / 289.6 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.02604, allocations: 3.984 kB / 289.6 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1004/0.1264, allocations: 0.9276 MB / 290.5 MB, free: 32.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1264, allocations: 0 / 290.5 MB, free: 32.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1265, allocations: 44.59 kB / 290.6 MB, free: 32.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005072/0.1271, allocations: 240.2 kB / 290.8 MB, free: 32.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1271, allocations: 7.266 kB / 290.8 MB, free: 32.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.1287, allocations: 2.718 MB / 293.5 MB, free: 30.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1287, allocations: 0 / 293.5 MB, free: 30.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/0.1294, allocations: 0.6761 MB / 294.2 MB, free: 29.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.1294, allocations: 51.86 kB / 294.3 MB, free: 29.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.1295, allocations: 8.016 kB / 294.3 MB, free: 29.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1296, allocations: 43.47 kB / 294.3 MB, free: 29.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.1297, allocations: 31.66 kB / 294.4 MB, free: 29.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1297, allocations: 17.58 kB / 294.4 MB, free: 29.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002066/0.1299, allocations: 283.6 kB / 294.6 MB, free: 29.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1299, allocations: 1.188 kB / 294.7 MB, free: 29.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004941/0.1304, allocations: 183.1 kB / 294.8 MB, free: 29.72 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.0001093/0.1305, allocations: 110.4 kB / 294.9 MB, free: 29.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005817/0.1311, allocations: 0.5099 MB / 295.4 MB, free: 29.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1311, allocations: 5.062 kB / 295.5 MB, free: 29.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.1314, allocations: 388 kB / 295.8 MB, free: 29.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.1317, allocations: 65.91 kB / 295.9 MB, free: 29.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.1329, allocations: 0.8717 MB / 296.8 MB, free: 28.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.133, allocations: 130 kB / 296.9 MB, free: 28.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.1331, allocations: 41.5 kB / 296.9 MB, free: 28.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.1332, allocations: 31.62 kB / 297 MB, free: 28.5 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1332, allocations: 0.9062 kB / 297 MB, free: 28.5 MB / 266.7 MB Notification: Performance of Templates: time 0.008124/0.1413, allocations: 6.677 MB / 303.6 MB, free: 26.47 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0381924039684236]