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.001355/0.001355, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.00151/0.00151, allocations: 144.5 kB / 24.89 MB, free: 9.234 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.9584/0.9584, allocations: 173.4 MB / 201.5 MB, free: 9.223 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.473e-06/1.473e-06, allocations: 0 / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.679e-05, allocations: 6.25 kB / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003794/0.003811, allocations: 4.338 MB / 272.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.005666, allocations: 1.226 MB / 274.1 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.005936, allocations: 19.88 kB / 274.1 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.006276, allocations: 142.8 kB / 274.2 MB, free: 436 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.006622, allocations: 214.1 kB / 274.4 MB, free: 220 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.006996, allocations: 207.5 kB / 274.6 MB, free: 12 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006246/0.007621, allocations: 0.7861 MB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.007886, allocations: 189 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.008354, allocations: 435 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.008644, allocations: 243.2 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.135e-05/0.008715, allocations: 64 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.008781, allocations: 64 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.008872, allocations: 159.3 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.009038, allocations: 235.4 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.009444, allocations: 0.4903 MB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.009447, allocations: 3.984 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.009447, allocations: 0 / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.009453, allocations: 0 / 277.3 MB, free: 13.35 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.00096/0.01041, allocations: 0.8501 MB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.01045, allocations: 12.03 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.94e-05/0.01055, allocations: 92.86 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.01087, allocations: 287.6 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.0109, allocations: 45.62 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.01095, allocations: 56.38 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.01142, allocations: 0.5818 MB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.01143, allocations: 192 / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.01146, allocations: 31.94 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.01147, allocations: 12 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.01166, allocations: 145 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.01319, allocations: 1.235 MB / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.01349, allocations: 246.4 kB / 280.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.01391, allocations: 345.1 kB / 281.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.01394, allocations: 8.312 kB / 281.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.01419, allocations: 409.8 kB / 281.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.443e-06/0.01419, allocations: 0 / 281.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.001398/0.01559, allocations: 0.786 MB / 282.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.01567, allocations: 239.3 kB / 282.6 MB, free: 7.695 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.0159, allocations: 359.2 kB / 283 MB, free: 7.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.01592, allocations: 37.7 kB / 283 MB, free: 7.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.01604, allocations: 281.6 kB / 283.3 MB, free: 7.008 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.0161, allocations: 142.8 kB / 283.4 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.981e-05/0.01619, allocations: 94.09 kB / 283.5 MB, free: 6.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.01629, allocations: 358.7 kB / 283.9 MB, free: 6.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.01635, allocations: 52.91 kB / 283.9 MB, free: 6.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.01654, allocations: 404.9 kB / 284.3 MB, free: 5.848 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.01676, allocations: 271.1 kB / 284.6 MB, free: 5.535 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.01676, allocations: 7.938 kB / 284.6 MB, free: 5.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005238/0.01729, allocations: 454.3 kB / 285 MB, free: 5.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.0173, allocations: 4 kB / 285 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01731, allocations: 4 kB / 285 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005129/0.01782, allocations: 255.9 kB / 285.3 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.01796, allocations: 79.84 kB / 285.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.0197, allocations: 2.125 MB / 287.5 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.0199, allocations: 79.62 kB / 287.6 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.01992, allocations: 16 kB / 287.6 MB, free: 2.441 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.0001163/0.02004, allocations: 152.5 kB / 287.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.02008, allocations: 39.91 kB / 287.8 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.02012, allocations: 56.7 kB / 287.8 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.02013, allocations: 4 kB / 287.8 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.02013, allocations: 4 kB / 287.8 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.02013, allocations: 0 / 287.8 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007538/0.02089, allocations: 0.6871 MB / 288.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.02089, allocations: 0 / 288.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.02097, allocations: 31.97 kB / 288.6 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/0.02142, allocations: 255.8 kB / 288.8 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.02143, allocations: 11.94 kB / 288.8 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09459/0.116, allocations: 2.05 MB / 290.9 MB, free: 28.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.116, allocations: 1.562 kB / 290.9 MB, free: 28.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006726/0.1167, allocations: 0.5209 MB / 291.4 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.1168, allocations: 47.5 kB / 291.4 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.1168, allocations: 10.22 kB / 291.4 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.117, allocations: 38.78 kB / 291.5 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.117, allocations: 34 kB / 291.5 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.117, allocations: 11.45 kB / 291.5 MB, free: 28.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1172, allocations: 147.2 kB / 291.7 MB, free: 28.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1172, allocations: 0 / 291.7 MB, free: 28.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004598/0.1176, allocations: 195.8 kB / 291.9 MB, free: 28.31 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.0001077/0.1177, allocations: 96.7 kB / 292 MB, free: 28.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005981/0.1183, allocations: 474.2 kB / 292.4 MB, free: 28.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.1184, allocations: 4.469 kB / 292.4 MB, free: 28.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.1187, allocations: 345.4 kB / 292.8 MB, free: 27.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1189, allocations: 66.8 kB / 292.8 MB, free: 27.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1201, allocations: 0.8539 MB / 293.7 MB, free: 27.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.49e-05/0.1202, allocations: 129.3 kB / 293.8 MB, free: 27.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.1204, allocations: 44.84 kB / 293.9 MB, free: 27.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.1205, allocations: 135.6 kB / 294 MB, free: 27.4 MB / 266.7 MB Notification: Performance of SimCode: time 1.153e-06/0.1205, allocations: 0 / 294 MB, free: 27.4 MB / 266.7 MB Notification: Performance of Templates: time 0.01013/0.1307, allocations: 7.289 MB / 301.3 MB, free: 25.71 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: 2.6878830338828266]