Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002302/0.002302, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.873e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007689/0.007718, allocations: 5.361 MB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.01058, allocations: 1.505 MB / 279.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.01091, allocations: 27.88 kB / 279.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.01128, allocations: 170.2 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006032/0.01189, allocations: 309 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009302/0.01282, allocations: 419.3 kB / 280.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.01457, allocations: 1.441 MB / 281.6 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005032/0.01507, allocations: 281.6 kB / 281.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.0161, allocations: 0.772 MB / 282.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000636/0.01674, allocations: 438.8 kB / 283 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.01694, allocations: 132 kB / 283.2 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.01725, allocations: 176 kB / 283.3 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.01751, allocations: 275.1 kB / 283.6 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.01803, allocations: 423 kB / 284 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.02016, allocations: 1.628 MB / 285.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.02016, allocations: 0 / 285.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02016, allocations: 0 / 285.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.02018, allocations: 0 / 285.6 MB, free: 4.422 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.003719/0.0239, allocations: 1.322 MB / 287 MB, free: 3.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.02394, allocations: 12.03 kB / 287 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.02445, allocations: 200.2 kB / 287.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009369/0.02538, allocations: 0.5087 MB / 287.7 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.02547, allocations: 74.36 kB / 287.8 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.02564, allocations: 92.38 kB / 287.8 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.02764, allocations: 1.102 MB / 288.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.02767, allocations: 4.125 kB / 289 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.02777, allocations: 36.38 kB / 289 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.0278, allocations: 27.94 kB / 289 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.02965, allocations: 0.8433 MB / 289.9 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.133/0.1627, allocations: 2.777 MB / 292.6 MB, free: 27.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.1638, allocations: 0.6197 MB / 293.3 MB, free: 27.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/0.1645, allocations: 400.2 kB / 293.6 MB, free: 26.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.875e-05/0.1646, allocations: 17.02 kB / 293.7 MB, free: 26.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.1646, allocations: 51.5 kB / 293.7 MB, free: 26.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 2.886e-06/0.1646, allocations: 1.156 kB / 293.7 MB, free: 26.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.004586/0.1692, allocations: 2.209 MB / 295.9 MB, free: 25.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.1692, allocations: 59.02 kB / 296 MB, free: 25.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006835/0.1699, allocations: 0.5501 MB / 296.5 MB, free: 25.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.1699, allocations: 43.39 kB / 296.6 MB, free: 25.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.1702, allocations: 449.9 kB / 297 MB, free: 25.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.1704, allocations: 270.5 kB / 297.3 MB, free: 24.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.1706, allocations: 146.2 kB / 297.4 MB, free: 24.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1707, allocations: 387 kB / 297.8 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/0.1713, allocations: 323.2 kB / 298.1 MB, free: 24.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/0.1722, allocations: 473 kB / 298.6 MB, free: 24.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.1737, allocations: 0.8012 MB / 299.4 MB, free: 23.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1737, allocations: 1.766 kB / 299.4 MB, free: 23.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002388/0.1761, allocations: 1.144 MB / 300.5 MB, free: 23.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1761, allocations: 7 kB / 300.5 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1761, allocations: 3.375 kB / 300.5 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/0.1767, allocations: 207.4 kB / 300.7 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/0.1776, allocations: 201.1 kB / 300.9 MB, free: 23.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.1808, allocations: 2.749 MB / 303.7 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.1814, allocations: 36.81 kB / 303.7 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/0.1815, allocations: 34.12 kB / 303.8 MB, free: 20.94 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.000336/0.1818, allocations: 235.6 kB / 304 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.182, allocations: 97.97 kB / 304.1 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.1822, allocations: 92.36 kB / 304.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1822, allocations: 12.03 kB / 304.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.1822, allocations: 2.344 kB / 304.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1822, allocations: 3.984 kB / 304.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/0.1831, allocations: 0.607 MB / 304.8 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1831, allocations: 0 / 304.8 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/0.1838, allocations: 144.7 kB / 304.9 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005498/0.1843, allocations: 202.3 kB / 305.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.1844, allocations: 21.86 kB / 305.2 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.1872, allocations: 2.743 MB / 307.9 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1872, allocations: 0 / 307.9 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.1894, allocations: 1.438 MB / 309.3 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1895, allocations: 71.52 kB / 309.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/0.1896, allocations: 14.12 kB / 309.4 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.1902, allocations: 55.95 kB / 309.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.1903, allocations: 56.55 kB / 309.5 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.1904, allocations: 23.98 kB / 309.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003269/0.1907, allocations: 382.8 kB / 309.9 MB, free: 16.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1907, allocations: 0 / 309.9 MB, free: 16.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007846/0.1915, allocations: 240 kB / 310.2 MB, free: 16.02 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.0001927/0.1917, allocations: 141.2 kB / 310.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.1936, allocations: 0.9931 MB / 311.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.1936, allocations: 4 kB / 311.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.1949, allocations: 0.6127 MB / 311.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.1956, allocations: 135.5 kB / 312 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.1979, allocations: 1.84 MB / 313.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1982, allocations: 391 kB / 314.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.1985, allocations: 84.48 kB / 314.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.1987, allocations: 48.48 kB / 314.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1987, allocations: 0 / 314.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of Templates: time 0.01469/0.2134, allocations: 10.83 MB / 325.2 MB, free: 1.113 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.8346619959920645]