Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8953/0.8953, allocations: 177 MB / 204.8 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 273 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.52e-05, allocations: 5.266 kB / 273 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004001/0.004016, allocations: 4.462 MB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.00595, allocations: 1.234 MB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.006211, allocations: 19.88 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.006577, allocations: 138.7 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.006938, allocations: 222.1 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.007326, allocations: 207.5 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006879/0.008014, allocations: 0.7938 MB / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.008365, allocations: 187 kB / 280.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.008853, allocations: 447 kB / 280.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.009167, allocations: 251.2 kB / 280.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.21e-05/0.009239, allocations: 64 kB / 281 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.009358, allocations: 71.98 kB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.009456, allocations: 151.4 kB / 281.2 MB, free: 9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.009647, allocations: 243.3 kB / 281.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.01013, allocations: 0.5019 MB / 281.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.01013, allocations: 0 / 281.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.01013, allocations: 4 kB / 281.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.01014, allocations: 0 / 281.9 MB, free: 8.254 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001231/0.01137, allocations: 1.053 MB / 283 MB, free: 7.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.01141, allocations: 11.98 kB / 283 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.01163, allocations: 140.5 kB / 283.1 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.01199, allocations: 366.4 kB / 283.5 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.01202, allocations: 41.69 kB / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.01208, allocations: 60.38 kB / 283.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.01258, allocations: 0.5599 MB / 284.1 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.01259, allocations: 4.188 kB / 284.1 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.01263, allocations: 27.94 kB / 284.2 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.01264, allocations: 12 kB / 284.2 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.01294, allocations: 211.7 kB / 284.4 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.01485, allocations: 1.506 MB / 285.9 MB, free: 4.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.01556, allocations: 319.9 kB / 286.2 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.01605, allocations: 375.2 kB / 286.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.01608, allocations: 8 kB / 286.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003255/0.0164, allocations: 460 kB / 287 MB, free: 2.836 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.914e-06/0.0164, allocations: 0 / 287 MB, free: 2.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001338/0.01774, allocations: 0.7734 MB / 287.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.01783, allocations: 247.2 kB / 288 MB, free: 1.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.01812, allocations: 438.5 kB / 288.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.01814, allocations: 37.7 kB / 288.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.0183, allocations: 375.4 kB / 288.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/0.01839, allocations: 150.7 kB / 289 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.01851, allocations: 104 kB / 289.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.01867, allocations: 0.5235 MB / 289.6 MB, free: 100 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.01881, allocations: 77.25 kB / 289.7 MB, free: 20 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.114/0.1328, allocations: 474.3 kB / 290.2 MB, free: 24.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.1332, allocations: 342.9 kB / 290.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1332, allocations: 0.9688 kB / 290.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009257/0.1341, allocations: 0.5342 MB / 291.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1341, allocations: 7.188 kB / 291.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1342, allocations: 5.094 kB / 291.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007343/0.1349, allocations: 261.7 kB / 291.3 MB, free: 24.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.1351, allocations: 78.34 kB / 291.4 MB, free: 24.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.1375, allocations: 2.875 MB / 294.3 MB, free: 22.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.1378, allocations: 74.55 kB / 294.3 MB, free: 22.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.1378, allocations: 22.38 kB / 294.4 MB, free: 22.44 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.138, allocations: 190.7 kB / 294.6 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.138, allocations: 71.31 kB / 294.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.1381, allocations: 57.78 kB / 294.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1381, allocations: 3.875 kB / 294.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1381, allocations: 0.875 kB / 294.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1381, allocations: 3.797 kB / 294.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1392, allocations: 0.9269 MB / 295.6 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1392, allocations: 3.312 kB / 295.6 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.1394, allocations: 47.81 kB / 295.7 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006126/0.14, allocations: 264.8 kB / 295.9 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.14, allocations: 11.34 kB / 295.9 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.1419, allocations: 2.879 MB / 298.8 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1419, allocations: 1.312 kB / 298.8 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/0.1427, allocations: 0.667 MB / 299.5 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.1428, allocations: 54.53 kB / 299.5 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.1428, allocations: 15.83 kB / 299.6 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.143, allocations: 33.22 kB / 299.6 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.1431, allocations: 35.94 kB / 299.6 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.1431, allocations: 13.86 kB / 299.6 MB, free: 19.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002311/0.1433, allocations: 300.3 kB / 299.9 MB, free: 19.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1433, allocations: 0 / 299.9 MB, free: 19.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005686/0.1439, allocations: 187.5 kB / 300.1 MB, free: 19.45 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: 4 ($whenCondition1,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.144, allocations: 109.8 kB / 300.2 MB, free: 19.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006913/0.1447, allocations: 0.5272 MB / 300.7 MB, free: 19.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1447, allocations: 1.188 kB / 300.7 MB, free: 19.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.1451, allocations: 409.3 kB / 301.1 MB, free: 18.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1454, allocations: 79.84 kB / 301.2 MB, free: 18.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.1471, allocations: 0.9787 MB / 302.2 MB, free: 18.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.1472, allocations: 136.2 kB / 302.3 MB, free: 18.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.1474, allocations: 45.19 kB / 302.4 MB, free: 18.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.1474, allocations: 41.92 kB / 302.4 MB, free: 18.2 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1474, allocations: 0 / 302.4 MB, free: 18.2 MB / 266.7 MB Notification: Performance of Templates: time 0.009895/0.1573, allocations: 7.241 MB / 309.7 MB, free: 15.14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.925565745215863]