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.001001/0.001001, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001038/0.001038, allocations: 166.6 kB / 24.99 MB, free: 8.746 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.9677/0.9677, allocations: 177.1 MB / 205.3 MB, free: 5.621 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 1.513e-06/1.513e-06, allocations: 0 / 273.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.013e-05, allocations: 2.312 kB / 273.1 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.01072/0.01074, allocations: 4.423 MB / 277.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.01247, allocations: 1.254 MB / 278.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.01269, allocations: 15.88 kB / 278.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.01304, allocations: 134.8 kB / 278.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.01337, allocations: 222 kB / 279.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.01678, allocations: 223.5 kB / 279.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006486/0.01743, allocations: 0.7938 MB / 280.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.01773, allocations: 179.1 kB / 280.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004495/0.01818, allocations: 446.9 kB / 280.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.01847, allocations: 251.2 kB / 281 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.01855, allocations: 68 kB / 281.1 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.01866, allocations: 64 kB / 281.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.01876, allocations: 159.4 kB / 281.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.01897, allocations: 243.4 kB / 281.5 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.0225, allocations: 0.4942 MB / 282 MB, free: 8.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.0225, allocations: 0 / 282 MB, free: 8.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0225, allocations: 0 / 282 MB, free: 8.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.02251, allocations: 0 / 282 MB, free: 8.801 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.001261/0.02377, allocations: 1.045 MB / 283.1 MB, free: 7.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.02381, allocations: 12.03 kB / 283.1 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.02407, allocations: 132.5 kB / 283.2 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.02451, allocations: 362.4 kB / 283.6 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.02454, allocations: 41.69 kB / 283.6 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.02461, allocations: 56.38 kB / 283.7 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.02531, allocations: 0.6226 MB / 284.3 MB, free: 6.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.02532, allocations: 192 / 284.3 MB, free: 6.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.02537, allocations: 27.94 kB / 284.3 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.02539, allocations: 12 kB / 284.3 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.0258, allocations: 211.7 kB / 284.5 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.02807, allocations: 1.614 MB / 286.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.03156, allocations: 296.5 kB / 286.4 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/0.03221, allocations: 364.6 kB / 286.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.03224, allocations: 12.33 kB / 286.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.03261, allocations: 434.6 kB / 287.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/0.03261, allocations: 0 / 287.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.004848/0.03746, allocations: 0.8119 MB / 288.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.03755, allocations: 235.3 kB / 288.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.03793, allocations: 438.6 kB / 288.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.03796, allocations: 37.7 kB / 288.7 MB, free: 1.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.03815, allocations: 363.4 kB / 289.1 MB, free: 1.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.538e-05/0.03825, allocations: 158.7 kB / 289.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.03837, allocations: 91.84 kB / 289.3 MB, free: 1.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.03853, allocations: 0.5274 MB / 289.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.03868, allocations: 76.95 kB / 289.9 MB, free: 476 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1078/0.1464, allocations: 481.7 kB / 290.4 MB, free: 28.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.1468, allocations: 340.2 kB / 290.8 MB, free: 27.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1468, allocations: 5 kB / 290.8 MB, free: 27.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008594/0.1477, allocations: 0.5577 MB / 291.3 MB, free: 27.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1477, allocations: 6.312 kB / 291.3 MB, free: 27.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1477, allocations: 3.781 kB / 291.3 MB, free: 27.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.1483, allocations: 242 kB / 291.6 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.1485, allocations: 86.34 kB / 291.6 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.1502, allocations: 2.756 MB / 294.4 MB, free: 25.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.1504, allocations: 77.23 kB / 294.5 MB, free: 25.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1504, allocations: 20.59 kB / 294.5 MB, free: 25.77 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.0001247/0.1506, allocations: 185.8 kB / 294.7 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.1506, allocations: 63.98 kB / 294.7 MB, free: 25.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.1507, allocations: 54.47 kB / 294.8 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1507, allocations: 3.281 kB / 294.8 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1507, allocations: 5.219 kB / 294.8 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1507, allocations: 2.609 kB / 294.8 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009791/0.1517, allocations: 0.9336 MB / 295.7 MB, free: 25.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1517, allocations: 2.562 kB / 295.7 MB, free: 25.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.1518, allocations: 48.53 kB / 295.8 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/0.1523, allocations: 234.2 kB / 296 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.1523, allocations: 11.86 kB / 296 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.1538, allocations: 2.726 MB / 298.8 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1538, allocations: 0 / 298.8 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.1545, allocations: 0.6734 MB / 299.4 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.1546, allocations: 63.5 kB / 299.5 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.1546, allocations: 8.266 kB / 299.5 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.1548, allocations: 38.56 kB / 299.5 MB, free: 22.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.1548, allocations: 32.16 kB / 299.6 MB, free: 22.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1548, allocations: 9.234 kB / 299.6 MB, free: 22.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.155, allocations: 296.2 kB / 299.9 MB, free: 22.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.155, allocations: 0 / 299.9 MB, free: 22.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004285/0.1555, allocations: 186.5 kB / 300 MB, free: 22.14 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 9.029e-05/0.1555, allocations: 113.6 kB / 300.2 MB, free: 22.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005557/0.1561, allocations: 0.5072 MB / 300.7 MB, free: 21.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1561, allocations: 0.9688 kB / 300.7 MB, free: 21.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.1564, allocations: 383.9 kB / 301 MB, free: 21.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1567, allocations: 77.34 kB / 301.1 MB, free: 21.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1579, allocations: 0.881 MB / 302 MB, free: 20.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.332e-05/0.158, allocations: 132.4 kB / 302.1 MB, free: 20.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.1581, allocations: 46.38 kB / 302.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.1582, allocations: 31.62 kB / 302.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1582, allocations: 0 / 302.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of Templates: time 0.008692/0.1669, allocations: 6.769 MB / 309 MB, free: 17.88 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: 3.03758304589428]