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.002101/0.002101, allocations: 91.62 kB / 20.96 MB, free: 3.461 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.002933/0.002933, allocations: 165.3 kB / 24.27 MB, free: 152 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.586/1.586, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.583e-06/1.583e-06, allocations: 0 / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.805e-05, allocations: 2.312 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006634/0.006662, allocations: 4.387 MB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.00946, allocations: 1.254 MB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.009751, allocations: 15.94 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004347/0.01019, allocations: 134.8 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.01065, allocations: 218 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.01117, allocations: 227.4 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008962/0.01206, allocations: 0.7899 MB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.01243, allocations: 191 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000624/0.01306, allocations: 443 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.01345, allocations: 247.2 kB / 280.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.01356, allocations: 64 kB / 280.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.01373, allocations: 71.98 kB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.01388, allocations: 151.4 kB / 280.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.01419, allocations: 243.3 kB / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.01519, allocations: 0.7748 MB / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.0152, allocations: 0 / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0152, allocations: 0 / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.01521, allocations: 0 / 281.5 MB, free: 8.574 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.002021/0.01723, allocations: 1.119 MB / 282.7 MB, free: 7.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.01727, allocations: 8.031 kB / 282.7 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.01765, allocations: 136.4 kB / 282.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.01827, allocations: 366.4 kB / 283.1 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.01832, allocations: 45.69 kB / 283.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.01841, allocations: 52.38 kB / 283.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.01957, allocations: 0.7352 MB / 284 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.01961, allocations: 4.125 kB / 284 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.01967, allocations: 27.94 kB / 284 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.01969, allocations: 16 kB / 284 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008421/0.02053, allocations: 377.1 kB / 284.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.02423, allocations: 1.805 MB / 286.2 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.02507, allocations: 368.3 kB / 286.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.0262, allocations: 428.6 kB / 287 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.02623, allocations: 4.328 kB / 287 MB, free: 2.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007268/0.02696, allocations: 0.4947 MB / 287.5 MB, free: 2.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/0.02696, allocations: 0 / 287.5 MB, free: 2.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.003318/0.03028, allocations: 0.9759 MB / 288.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.03046, allocations: 239.3 kB / 288.7 MB, free: 1.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000673/0.03114, allocations: 0.5181 MB / 289.2 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.03119, allocations: 41.69 kB / 289.2 MB, free: 472 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.03152, allocations: 375.5 kB / 289.6 MB, free: 92 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1162/0.1477, allocations: 154.7 kB / 289.8 MB, free: 28.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.1479, allocations: 110.4 kB / 289.9 MB, free: 28.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.148, allocations: 0.5479 MB / 290.4 MB, free: 27.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.1484, allocations: 132.7 kB / 290.5 MB, free: 27.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.1488, allocations: 0.5514 MB / 291.1 MB, free: 27.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.1494, allocations: 479.9 kB / 291.6 MB, free: 27.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.1494, allocations: 4.438 kB / 291.6 MB, free: 27.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00147/0.1509, allocations: 0.7021 MB / 292.3 MB, free: 26.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1509, allocations: 6.906 kB / 292.3 MB, free: 26.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1509, allocations: 3.375 kB / 292.3 MB, free: 26.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.152, allocations: 272.7 kB / 292.6 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.1523, allocations: 80.27 kB / 292.6 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/0.1557, allocations: 3.171 MB / 295.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.1562, allocations: 79.25 kB / 295.9 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.1562, allocations: 20.52 kB / 295.9 MB, free: 24.58 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.0002413/0.1564, allocations: 227.9 kB / 296.1 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.1565, allocations: 63.47 kB / 296.2 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.821e-05/0.1566, allocations: 57.41 kB / 296.2 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1566, allocations: 4.422 kB / 296.2 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1566, allocations: 0 / 296.2 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.1566, allocations: 3.047 kB / 296.2 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.1585, allocations: 1.156 MB / 297.4 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1585, allocations: 0 / 297.4 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.1587, allocations: 45.53 kB / 297.4 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000967/0.1597, allocations: 277.6 kB / 297.7 MB, free: 23.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.1597, allocations: 7.047 kB / 297.7 MB, free: 23.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003176/0.1629, allocations: 3.142 MB / 300.9 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1629, allocations: 0.6094 kB / 300.9 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.1645, allocations: 0.8848 MB / 301.8 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.1646, allocations: 51.38 kB / 301.8 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.1647, allocations: 12.06 kB / 301.8 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.1651, allocations: 33.55 kB / 301.8 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.1652, allocations: 39.81 kB / 301.9 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.1652, allocations: 13.14 kB / 301.9 MB, free: 20.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004254/0.1656, allocations: 354.9 kB / 302.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1656, allocations: 0 / 302.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00068/0.1663, allocations: 185.4 kB / 302.4 MB, free: 20.49 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.0001317/0.1665, allocations: 110.7 kB / 302.5 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.1676, allocations: 0.6304 MB / 303.2 MB, free: 20.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1676, allocations: 0 / 303.2 MB, free: 20.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006142/0.1682, allocations: 446.2 kB / 303.6 MB, free: 19.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.1687, allocations: 76.92 kB / 303.7 MB, free: 19.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1701, allocations: 0.9301 MB / 304.6 MB, free: 19.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.1704, allocations: 264.4 kB / 304.9 MB, free: 19.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.1705, allocations: 50.67 kB / 304.9 MB, free: 19.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.1706, allocations: 31.12 kB / 304.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1706, allocations: 0 / 304.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of Templates: time 0.01171/0.1823, allocations: 6.773 MB / 311.7 MB, free: 14.54 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.874504220089875]