Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.0009487/0.0009487, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001091/0.001091, allocations: 164.2 kB / 24.91 MB, free: 8.758 MB / 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 1.004/1.004, allocations: 177 MB / 205.2 MB, free: 5.051 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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.533e-05, allocations: 2.312 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004663/0.004678, allocations: 5.839 MB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.007481, allocations: 1.59 MB / 280.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004822/0.007964, allocations: 23.94 kB / 280.9 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.008283, allocations: 174.2 kB / 281 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.008816, allocations: 309 kB / 281.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/0.009561, allocations: 419.2 kB / 281.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.01067, allocations: 1.433 MB / 283.2 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.01101, allocations: 297.7 kB / 283.5 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008509/0.01186, allocations: 0.7759 MB / 284.2 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.01231, allocations: 450.8 kB / 284.7 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.01245, allocations: 136 kB / 284.8 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.01266, allocations: 179.9 kB / 285 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.01281, allocations: 283 kB / 285.3 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.01312, allocations: 427 kB / 285.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007756/0.01389, allocations: 0.9578 MB / 286.6 MB, free: 3.734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.01389, allocations: 0 / 286.6 MB, free: 3.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01389, allocations: 0 / 286.6 MB, free: 3.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.01391, allocations: 0 / 286.6 MB, free: 3.734 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.001379/0.01529, allocations: 1.309 MB / 287.9 MB, free: 2.398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.01532, allocations: 12.03 kB / 288 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.01557, allocations: 160.8 kB / 288.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.01598, allocations: 373.2 kB / 288.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.01601, allocations: 66.38 kB / 288.5 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/0.01611, allocations: 100.3 kB / 288.6 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.01675, allocations: 0.8138 MB / 289.5 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.01676, allocations: 4.125 kB / 289.5 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.01681, allocations: 36.38 kB / 289.5 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.01683, allocations: 23.94 kB / 289.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.01717, allocations: 273.8 kB / 289.8 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1197/0.1369, allocations: 2.055 MB / 291.8 MB, free: 25.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.1373, allocations: 357.3 kB / 292.2 MB, free: 25.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.1375, allocations: 174.8 kB / 292.4 MB, free: 25.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.1375, allocations: 25.03 kB / 292.4 MB, free: 25.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1376, allocations: 41.86 kB / 292.4 MB, free: 25.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.1376, allocations: 0 / 292.4 MB, free: 25.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001713/0.1393, allocations: 1.127 MB / 293.6 MB, free: 25.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.1393, allocations: 61 kB / 293.6 MB, free: 25.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.1396, allocations: 486.8 kB / 294.1 MB, free: 25.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.1397, allocations: 41.08 kB / 294.1 MB, free: 25.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1398, allocations: 386.6 kB / 294.5 MB, free: 24.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1399, allocations: 275.2 kB / 294.8 MB, free: 24.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.1401, allocations: 148.4 kB / 294.9 MB, free: 24.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.1402, allocations: 396.4 kB / 295.3 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1403, allocations: 91.06 kB / 295.4 MB, free: 24.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.1405, allocations: 247.5 kB / 295.6 MB, free: 24.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.1409, allocations: 415.8 kB / 296 MB, free: 24.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1409, allocations: 1.219 kB / 296 MB, free: 24.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007174/0.1416, allocations: 0.5415 MB / 296.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1416, allocations: 6.906 kB / 296.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1416, allocations: 2.531 kB / 296.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003058/0.142, allocations: 141.5 kB / 296.7 MB, free: 24.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.1424, allocations: 194.1 kB / 296.9 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.1438, allocations: 1.978 MB / 298.9 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.144, allocations: 30.22 kB / 298.9 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.1441, allocations: 25.31 kB / 299 MB, free: 22.8 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.1442, allocations: 154.2 kB / 299.1 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.587e-05/0.1443, allocations: 76.7 kB / 299.2 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/0.1444, allocations: 88.06 kB / 299.3 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1444, allocations: 7.656 kB / 299.3 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.1444, allocations: 3.719 kB / 299.3 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.1444, allocations: 3.641 kB / 299.3 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.1449, allocations: 441.5 kB / 299.7 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1449, allocations: 0 / 299.7 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.1452, allocations: 143.8 kB / 299.9 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003018/0.1455, allocations: 144 kB / 300 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.1456, allocations: 20.45 kB / 300 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.1469, allocations: 1.97 MB / 302 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1469, allocations: 1.375 kB / 302 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008405/0.1477, allocations: 0.6867 MB / 302.7 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1478, allocations: 58.53 kB / 302.7 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.1478, allocations: 24 kB / 302.8 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.1481, allocations: 46.73 kB / 302.8 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1482, allocations: 59.62 kB / 302.9 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.1482, allocations: 20.03 kB / 302.9 MB, free: 20.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001969/0.1484, allocations: 221.5 kB / 303.1 MB, free: 20.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1484, allocations: 0 / 303.1 MB, free: 20.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005579/0.149, allocations: 237.7 kB / 303.3 MB, free: 20.78 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001527/0.1491, allocations: 115.3 kB / 303.4 MB, free: 20.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007227/0.1499, allocations: 0.6248 MB / 304.1 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.1499, allocations: 7.875 kB / 304.1 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.1503, allocations: 463 kB / 304.5 MB, free: 20.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1507, allocations: 127.2 kB / 304.6 MB, free: 20.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1522, allocations: 1.51 MB / 306.2 MB, free: 19.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.591e-05/0.1523, allocations: 176.8 kB / 306.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.1524, allocations: 82.78 kB / 306.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.1527, allocations: 214.2 kB / 306.6 MB, free: 19.23 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1527, allocations: 0 / 306.6 MB, free: 19.23 MB / 266.7 MB Notification: Performance of Templates: time 0.0114/0.1641, allocations: 11.55 MB / 318.2 MB, free: 8.379 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.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.9508071010932326]