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.001952/0.001952, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002005/0.002005, allocations: 156.8 kB / 24.27 MB, free: 152 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 1.626/1.626, allocations: 177 MB / 204.5 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.418e-05, allocations: 2.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.008398/0.008432, allocations: 5.9 MB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004004/0.01244, allocations: 1.517 MB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007245/0.01316, allocations: 23.88 kB / 279.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.01361, allocations: 174.2 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007263/0.01434, allocations: 305 kB / 280.1 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009622/0.0153, allocations: 423.3 kB / 280.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.01712, allocations: 1.445 MB / 282 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.01766, allocations: 285.6 kB / 282.3 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.01897, allocations: 0.7682 MB / 283 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006934/0.01966, allocations: 450.8 kB / 283.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.01988, allocations: 136 kB / 283.6 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.02024, allocations: 180 kB / 283.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.02053, allocations: 279 kB / 284.1 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005655/0.0211, allocations: 435 kB / 284.5 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.02308, allocations: 1.62 MB / 286.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.02309, allocations: 0 / 286.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.02309, allocations: 0 / 286.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.02311, allocations: 0 / 286.1 MB, free: 3.812 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.003418/0.02653, allocations: 1.512 MB / 287.6 MB, free: 2.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.02658, allocations: 8.031 kB / 287.6 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005083/0.02708, allocations: 200.2 kB / 287.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.02795, allocations: 0.5076 MB / 288.3 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.02802, allocations: 66.38 kB / 288.4 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.02818, allocations: 104.3 kB / 288.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.03005, allocations: 1.071 MB / 289.6 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.03007, allocations: 192 / 289.6 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.03016, allocations: 40.38 kB / 289.6 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.03018, allocations: 23.94 kB / 289.6 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1338/0.164, allocations: 0.7925 MB / 290.4 MB, free: 28.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005507/0.1695, allocations: 3.171 MB / 293.6 MB, free: 26.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.1705, allocations: 0.629 MB / 294.2 MB, free: 26.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/0.1711, allocations: 376.4 kB / 294.6 MB, free: 26.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.551e-05/0.1712, allocations: 19.47 kB / 294.6 MB, free: 26.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1712, allocations: 47.78 kB / 294.7 MB, free: 26.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 2.385e-06/0.1712, allocations: 0 / 294.7 MB, free: 26.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.004105/0.1753, allocations: 2.147 MB / 296.8 MB, free: 25.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1754, allocations: 63.69 kB / 296.9 MB, free: 25.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008186/0.1762, allocations: 0.7203 MB / 297.6 MB, free: 24.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.1763, allocations: 41.7 kB / 297.6 MB, free: 24.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.1766, allocations: 0.5221 MB / 298.1 MB, free: 24.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.1767, allocations: 286.9 kB / 298.4 MB, free: 24.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.177, allocations: 184.5 kB / 298.6 MB, free: 24.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1772, allocations: 0.6009 MB / 299.2 MB, free: 23.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.1778, allocations: 311.2 kB / 299.5 MB, free: 23.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.1784, allocations: 0.5065 MB / 300 MB, free: 23.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.1796, allocations: 0.883 MB / 300.9 MB, free: 22.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1796, allocations: 5.312 kB / 300.9 MB, free: 22.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001969/0.1816, allocations: 1.115 MB / 302 MB, free: 22.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1816, allocations: 6.438 kB / 302 MB, free: 22.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1816, allocations: 4.344 kB / 302 MB, free: 22.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.1822, allocations: 213.2 kB / 302.2 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/0.1831, allocations: 195.5 kB / 302.4 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.1863, allocations: 3.392 MB / 305.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.1869, allocations: 34.72 kB / 305.9 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.1869, allocations: 30.88 kB / 305.9 MB, free: 19.55 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.0003148/0.1873, allocations: 277.7 kB / 306.2 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.1874, allocations: 105.1 kB / 306.3 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.1876, allocations: 86.41 kB / 306.3 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1876, allocations: 7.656 kB / 306.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.1876, allocations: 11.03 kB / 306.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.1876, allocations: 3.469 kB / 306.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/0.1885, allocations: 0.7637 MB / 307.1 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1885, allocations: 0 / 307.1 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006559/0.1892, allocations: 142.1 kB / 307.3 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/0.1897, allocations: 200.8 kB / 307.5 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.1897, allocations: 22.09 kB / 307.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.1926, allocations: 3.397 MB / 310.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1926, allocations: 0 / 310.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.1946, allocations: 1.453 MB / 312.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.1947, allocations: 63.53 kB / 312.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.1948, allocations: 15.98 kB / 312.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005544/0.1953, allocations: 51.97 kB / 312.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1954, allocations: 56.55 kB / 312.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.1955, allocations: 27.92 kB / 312.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000353/0.1958, allocations: 454.8 kB / 313 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1958, allocations: 0 / 313 MB, free: 12.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007345/0.1966, allocations: 247.8 kB / 313.2 MB, free: 12.6 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.0001753/0.1968, allocations: 131.2 kB / 313.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.1985, allocations: 1.1 MB / 314.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1985, allocations: 0 / 314.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.1996, allocations: 0.694 MB / 315.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.2002, allocations: 131.6 kB / 315.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.2025, allocations: 1.854 MB / 317.1 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2027, allocations: 399 kB / 317.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003121/0.203, allocations: 85.11 kB / 317.6 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.2032, allocations: 52.47 kB / 317.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2032, allocations: 0 / 317.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of Templates: time 0.01703/0.2202, allocations: 10.93 MB / 328.6 MB, free: 13.37 MB / 282.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.040652250056155]