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.0008087/0.0008087, allocations: 80 kB / 21.43 MB, free: 3.133 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.003234/0.003234, allocations: 141.2 kB / 24.68 MB, free: 8.883 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.8104/0.8104, allocations: 173.4 MB / 201.2 MB, free: 9.43 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.092e-06/1.092e-06, allocations: 0 / 319.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.597e-05, allocations: 2.281 kB / 319.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00336/0.003376, allocations: 4.02 MB / 323.8 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.004749, allocations: 1.168 MB / 324.9 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.004922, allocations: 11.94 kB / 324.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.005236, allocations: 134.7 kB / 325.1 MB, free: 444 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.005499, allocations: 214.1 kB / 325.3 MB, free: 228 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.005787, allocations: 203.5 kB / 325.5 MB, free: 24 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.00632, allocations: 0.786 MB / 326.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.006574, allocations: 183 kB / 326.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.006884, allocations: 439 kB / 326.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.007108, allocations: 239.2 kB / 327.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.007173, allocations: 64 kB / 327.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-05/0.007229, allocations: 64 kB / 327.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.007315, allocations: 147.4 kB / 327.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.007463, allocations: 243.3 kB / 327.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.007964, allocations: 0.7553 MB / 328.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.007966, allocations: 0 / 328.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007967, allocations: 4 kB / 328.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.007974, allocations: 7.938 kB / 328.4 MB, free: 13.11 MB / 298.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.001046/0.009021, allocations: 0.9337 MB / 329.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.00905, allocations: 8.031 kB / 329.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.009127, allocations: 76.47 kB / 329.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.009482, allocations: 355.6 kB / 329.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.009509, allocations: 41.69 kB / 329.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.009558, allocations: 52.38 kB / 329.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/0.01026, allocations: 0.7258 MB / 330.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.01028, allocations: 192 / 330.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.01031, allocations: 35.92 kB / 330.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.01032, allocations: 15.94 kB / 330.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.01084, allocations: 413 kB / 331 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.01248, allocations: 1.542 MB / 332.6 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.01293, allocations: 358.9 kB / 332.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.01346, allocations: 417.8 kB / 333.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.01348, allocations: 4.328 kB / 333.3 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.01384, allocations: 489.8 kB / 333.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 1.503e-06/0.01384, allocations: 0 / 333.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.001769/0.01561, allocations: 1.098 MB / 334.9 MB, free: 6.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.01568, allocations: 239.3 kB / 335.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.01597, allocations: 413.5 kB / 335.5 MB, free: 5.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.01599, allocations: 29.7 kB / 335.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.01612, allocations: 320.7 kB / 335.9 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.01619, allocations: 142.7 kB / 336 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.01628, allocations: 94.19 kB / 336.1 MB, free: 5.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.01637, allocations: 354.8 kB / 336.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.01655, allocations: 148.9 kB / 336.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.01686, allocations: 0.4891 MB / 337.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.01729, allocations: 439.5 kB / 337.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.0173, allocations: 7.938 kB / 337.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008924/0.01819, allocations: 0.7441 MB / 338.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.0182, allocations: 8 kB / 338.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01821, allocations: 4 kB / 338.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.01855, allocations: 184.7 kB / 338.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.01871, allocations: 87.83 kB / 338.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.02093, allocations: 2.632 MB / 341.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.02113, allocations: 83.66 kB / 341.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.02115, allocations: 16 kB / 341.3 MB, free: 15.55 MB / 314.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.0001363/0.02128, allocations: 185.6 kB / 341.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.02132, allocations: 47.72 kB / 341.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.02137, allocations: 56.72 kB / 341.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.02137, allocations: 4 kB / 341.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.02137, allocations: 0 / 341.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.02138, allocations: 3.984 kB / 341.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.02253, allocations: 1.085 MB / 342.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02253, allocations: 0 / 342.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.02264, allocations: 47.91 kB / 342.7 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002839/0.02292, allocations: 191 kB / 342.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.02294, allocations: 11.98 kB / 342.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.025, allocations: 2.616 MB / 345.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.025, allocations: 3.938 kB / 345.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.02601, allocations: 0.8994 MB / 346.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.02605, allocations: 51.61 kB / 346.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.02608, allocations: 8 kB / 346.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.02624, allocations: 43.97 kB / 346.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.02629, allocations: 31.94 kB / 346.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.02631, allocations: 20.05 kB / 346.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001885/0.0265, allocations: 279.2 kB / 346.8 MB, free: 9.824 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0265, allocations: 0 / 346.8 MB, free: 9.824 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.02686, allocations: 187.6 kB / 347 MB, free: 9.641 MB / 314.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 9.602e-05/0.02695, allocations: 115.2 kB / 347.1 MB, free: 9.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000848/0.0278, allocations: 0.5487 MB / 347.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.02781, allocations: 7.984 kB / 347.7 MB, free: 8.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.02816, allocations: 386.8 kB / 348.1 MB, free: 8.559 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.02844, allocations: 65.47 kB / 348.1 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009769/0.02942, allocations: 0.9167 MB / 349 MB, free: 7.539 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.02957, allocations: 267.3 kB / 349.3 MB, free: 7.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.02964, allocations: 36.5 kB / 349.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.02964, allocations: 0 / 349.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of Templates: time 0.006477/0.03611, allocations: 8.386 MB / 357.7 MB, free: 14.84 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.509547014720738]