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.001458/0.001458, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001238/0.001238, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.001/1.001, allocations: 177 MB / 205.9 MB, free: 4.453 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.863e-06/1.863e-06, allocations: 0 / 274.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.558e-05, allocations: 4.141 kB / 274.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005925/0.005951, allocations: 5.831 MB / 280 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.009248, allocations: 1.532 MB / 281.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007241/0.009972, allocations: 19.94 kB / 281.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.01041, allocations: 182.2 kB / 281.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007034/0.01111, allocations: 305 kB / 282 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000812/0.01193, allocations: 423.2 kB / 282.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.01312, allocations: 1.437 MB / 283.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.01348, allocations: 273.7 kB / 284.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008969/0.01438, allocations: 0.7759 MB / 284.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007628/0.01514, allocations: 446.8 kB / 285.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.01528, allocations: 140 kB / 285.5 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.01554, allocations: 179.9 kB / 285.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.0157, allocations: 283 kB / 285.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.01604, allocations: 423.1 kB / 286.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008342/0.01687, allocations: 0.9616 MB / 287.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01687, allocations: 4 kB / 287.3 MB, free: 7.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01688, allocations: 0 / 287.3 MB, free: 7.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.01689, allocations: 0 / 287.3 MB, free: 7.133 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.001614/0.0185, allocations: 1.422 MB / 288.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.01854, allocations: 12.03 kB / 288.7 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.01887, allocations: 192.2 kB / 288.9 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.01941, allocations: 0.5115 MB / 289.4 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.01945, allocations: 66.38 kB / 289.5 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.01956, allocations: 92.36 kB / 289.6 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.02028, allocations: 0.7943 MB / 290.4 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.02029, allocations: 192 / 290.4 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.02034, allocations: 36.38 kB / 290.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.02036, allocations: 23.94 kB / 290.4 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.02076, allocations: 325.7 kB / 290.8 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.02406, allocations: 2.539 MB / 293.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.02449, allocations: 397.1 kB / 293.7 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.0247, allocations: 202 kB / 293.9 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.02473, allocations: 12.66 kB / 293.9 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.02476, allocations: 54.03 kB / 293.9 MB, free: 220 kB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 2.796e-06/0.02477, allocations: 0 / 293.9 MB, free: 220 kB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001782/0.02655, allocations: 1.261 MB / 295.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.02658, allocations: 60.06 kB / 295.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.02691, allocations: 0.5372 MB / 295.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.02695, allocations: 37.7 kB / 295.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.02717, allocations: 0.495 MB / 296.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.0273, allocations: 269.7 kB / 296.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.02746, allocations: 152.2 kB / 296.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.02764, allocations: 0.5623 MB / 297.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.02779, allocations: 113.9 kB / 297.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.02803, allocations: 305.7 kB / 297.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.02845, allocations: 473.2 kB / 298.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.02845, allocations: 0 / 298.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008254/0.02928, allocations: 0.6957 MB / 298.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.0293, allocations: 4 kB / 298.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.02931, allocations: 11.98 kB / 298.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.02964, allocations: 158.1 kB / 299 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.03007, allocations: 195.7 kB / 299.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.03239, allocations: 2.709 MB / 301.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.03274, allocations: 24 kB / 302 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.03278, allocations: 31.98 kB / 302 MB, free: 7.805 MB / 282.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.0002154/0.033, allocations: 200.3 kB / 302.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.03311, allocations: 103.5 kB / 302.3 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.72e-05/0.03321, allocations: 90.59 kB / 302.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.03322, allocations: 11.98 kB / 302.4 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.03323, allocations: 4 kB / 302.4 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.03323, allocations: 3.984 kB / 302.4 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.03379, allocations: 477.8 kB / 302.9 MB, free: 6.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.0338, allocations: 0 / 302.9 MB, free: 6.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.03415, allocations: 147.8 kB / 303 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/0.03446, allocations: 150.2 kB / 303.2 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.03449, allocations: 27.92 kB / 303.2 MB, free: 6.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.03638, allocations: 2.711 MB / 305.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.03638, allocations: 7.938 kB / 305.9 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.03761, allocations: 0.8411 MB / 306.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.03771, allocations: 79.5 kB / 306.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.03777, allocations: 16 kB / 306.8 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.03804, allocations: 43.97 kB / 306.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.03812, allocations: 60.47 kB / 306.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.03815, allocations: 16 kB / 307 MB, free: 2.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.03835, allocations: 342.6 kB / 307.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03835, allocations: 0 / 307.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005923/0.03894, allocations: 236 kB / 307.5 MB, free: 2.109 MB / 282.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.0001692/0.03911, allocations: 135.1 kB / 307.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008984/0.04001, allocations: 0.7164 MB / 308.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.04001, allocations: 0 / 308.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.04057, allocations: 0.5252 MB / 308.9 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.04098, allocations: 138.2 kB / 309 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.04293, allocations: 1.693 MB / 310.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.04304, allocations: 175.3 kB / 310.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.04328, allocations: 89.09 kB / 311 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.0436, allocations: 242.1 kB / 311.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.283e-06/0.0436, allocations: 4 kB / 311.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Templates: time 0.0152/0.0588, allocations: 11.99 MB / 323.2 MB, free: 2.496 MB / 298.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: 3.1376798897981644]