Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001558/0.001558, allocations: 88.64 kB / 20.95 MB, free: 3.457 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.001614/0.001614, allocations: 149.5 kB / 24.25 MB, free: 164 kB / 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 1.496/1.496, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.799e-06, allocations: 4 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/3.105e-05, allocations: 2.312 kB / 267.4 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007642/0.007673, allocations: 5.325 MB / 272.7 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.01097, allocations: 1.494 MB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/0.01143, allocations: 19.94 kB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.01184, allocations: 174.1 kB / 274.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006216/0.01246, allocations: 313 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.01335, allocations: 411.3 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.01495, allocations: 1.441 MB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006237/0.01558, allocations: 277.7 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.01719, allocations: 0.7681 MB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008498/0.01804, allocations: 438.8 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.01832, allocations: 132 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.01878, allocations: 167.9 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.01916, allocations: 279 kB / 278.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007609/0.01992, allocations: 423.1 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.0226, allocations: 1.612 MB / 280.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.0226, allocations: 3.984 kB / 280.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.0226, allocations: 0 / 280.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.02263, allocations: 0 / 280.6 MB, free: 9.402 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.00407/0.0267, allocations: 1.319 MB / 281.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.02675, allocations: 12.92 kB / 281.9 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.02724, allocations: 188.2 kB / 282.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.02854, allocations: 0.501 MB / 282.6 MB, free: 7.328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.02865, allocations: 70.38 kB / 282.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.0289, allocations: 96.33 kB / 282.7 MB, free: 7.164 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.03159, allocations: 1.102 MB / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.03161, allocations: 192 / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.03175, allocations: 36.38 kB / 283.9 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.03179, allocations: 23.94 kB / 283.9 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.03451, allocations: 0.8433 MB / 284.8 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00859/0.0431, allocations: 2.801 MB / 287.6 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.04496, allocations: 0.6257 MB / 288.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.04611, allocations: 395.2 kB / 288.6 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-05/0.04619, allocations: 16.64 kB / 288.6 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.512e-05/0.04626, allocations: 43.16 kB / 288.6 MB, free: 1.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 3.847e-06/0.04626, allocations: 0 / 288.6 MB, free: 1.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.1243/0.1705, allocations: 2.207 MB / 290.8 MB, free: 32.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1706, allocations: 60.53 kB / 290.9 MB, free: 32.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.1713, allocations: 0.5512 MB / 291.4 MB, free: 32.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.1713, allocations: 43.36 kB / 291.5 MB, free: 32.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.1716, allocations: 449.2 kB / 291.9 MB, free: 31.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.1717, allocations: 271.5 kB / 292.2 MB, free: 31.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.172, allocations: 151.8 kB / 292.3 MB, free: 31.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.1721, allocations: 377.2 kB / 292.7 MB, free: 31.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.1727, allocations: 329 kB / 293 MB, free: 31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007169/0.1734, allocations: 474.8 kB / 293.5 MB, free: 30.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.1747, allocations: 0.7991 MB / 294.3 MB, free: 30.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1747, allocations: 1.062 kB / 294.3 MB, free: 30.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002537/0.1773, allocations: 1.151 MB / 295.4 MB, free: 29.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1773, allocations: 7.156 kB / 295.4 MB, free: 29.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.1773, allocations: 4.094 kB / 295.5 MB, free: 29.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006516/0.1779, allocations: 204.2 kB / 295.7 MB, free: 29.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.179, allocations: 196.9 kB / 295.8 MB, free: 29.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/0.1822, allocations: 2.734 MB / 298.6 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.1829, allocations: 33.39 kB / 298.6 MB, free: 27.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.079e-05/0.183, allocations: 35.36 kB / 298.6 MB, free: 27.64 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.0003602/0.1833, allocations: 237.7 kB / 298.9 MB, free: 27.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.1835, allocations: 103.2 kB / 299 MB, free: 27.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.1837, allocations: 86.92 kB / 299.1 MB, free: 27.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.1837, allocations: 7.406 kB / 299.1 MB, free: 27.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/0.1837, allocations: 7 kB / 299.1 MB, free: 27.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.1838, allocations: 4.141 kB / 299.1 MB, free: 27.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1848, allocations: 0.6082 MB / 299.7 MB, free: 27.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1848, allocations: 1.156 kB / 299.7 MB, free: 27.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/0.1855, allocations: 147.1 kB / 299.8 MB, free: 27.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006378/0.1862, allocations: 199 kB / 300 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.1862, allocations: 23.41 kB / 300.1 MB, free: 26.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.1894, allocations: 2.747 MB / 302.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1894, allocations: 0 / 302.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.192, allocations: 1.435 MB / 304.2 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1921, allocations: 70.3 kB / 304.3 MB, free: 24.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/0.1922, allocations: 16.81 kB / 304.3 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/0.1928, allocations: 58.14 kB / 304.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.193, allocations: 55.12 kB / 304.4 MB, free: 24.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.1931, allocations: 22.55 kB / 304.5 MB, free: 24.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00044/0.1935, allocations: 381.2 kB / 304.8 MB, free: 23.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1935, allocations: 0 / 304.8 MB, free: 23.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008505/0.1944, allocations: 242.3 kB / 305.1 MB, free: 23.89 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.0002056/0.1946, allocations: 131 kB / 305.2 MB, free: 23.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.1966, allocations: 0.9996 MB / 306.2 MB, free: 23.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1966, allocations: 4.062 kB / 306.2 MB, free: 23.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.1978, allocations: 0.6176 MB / 306.8 MB, free: 23.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.1985, allocations: 139.5 kB / 306.9 MB, free: 22.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.201, allocations: 1.833 MB / 308.8 MB, free: 21.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.2012, allocations: 394.2 kB / 309.2 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003352/0.2016, allocations: 86.33 kB / 309.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.2017, allocations: 52.34 kB / 309.3 MB, free: 20.99 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2017, allocations: 4 kB / 309.3 MB, free: 20.98 MB / 266.7 MB Notification: Performance of Templates: time 0.01471/0.2164, allocations: 10.82 MB / 320.1 MB, free: 10.56 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.83383551298175]