Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.001738/0.001738, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 14.72 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.001982/0.001982, allocations: 164.7 kB / 24.49 MB, free: 3.453 MB / 14.72 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.481/1.481, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.1 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.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 51.02 kB / 325.6 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1047, allocations: 53.35 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008842/0.1136, allocations: 6.864 MB / 385.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.1175, allocations: 1.882 MB / 387.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008394/0.1183, allocations: 35.75 kB / 387.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.1189, allocations: 229.7 kB / 387.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.12, allocations: 456.2 kB / 388.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009785/0.1209, allocations: 0.4994 MB / 388.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.1231, allocations: 1.798 MB / 390.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006826/0.1238, allocations: 416.3 kB / 391.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.1246, allocations: 0.654 MB / 391.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008244/0.1254, allocations: 0.6218 MB / 392.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.1256, allocations: 180 kB / 392.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.1259, allocations: 180 kB / 392.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.1262, allocations: 366.7 kB / 393.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006546/0.1269, allocations: 0.63 MB / 393.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.1289, allocations: 2.07 MB / 395.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1289, allocations: 0 / 395.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1289, allocations: 0 / 395.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.003e-05/0.1289, allocations: 0 / 395.8 MB, free: 14.74 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.00366/0.1326, allocations: 1.755 MB / 397.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1326, allocations: 8.031 kB / 397.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/0.1329, allocations: 168 kB / 397.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.1342, allocations: 0.6893 MB / 398.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.1342, allocations: 98.33 kB / 398.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.1345, allocations: 120 kB / 398.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.1373, allocations: 1.635 MB / 400.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.1373, allocations: 3.938 kB / 400.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.1374, allocations: 52 kB / 400.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.1374, allocations: 32 kB / 400.3 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.1401, allocations: 1.11 MB / 401.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007962/0.1481, allocations: 4.237 MB / 405.7 MB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.1505, allocations: 0.9962 MB / 406.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.1517, allocations: 491.1 kB / 407.2 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.1517, allocations: 8.656 kB / 407.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.1518, allocations: 51.16 kB / 407.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.415e-06/0.1518, allocations: 0 / 407.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.00888/0.1606, allocations: 2.465 MB / 409.7 MB, free: 404 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.1607, allocations: 89.7 kB / 409.8 MB, free: 296 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.1618, allocations: 0.7545 MB / 410.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.701e-05/0.1619, allocations: 41.7 kB / 410.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000549/0.1624, allocations: 0.6092 MB / 411.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.1627, allocations: 297.4 kB / 411.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/0.163, allocations: 170.6 kB / 411.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.1633, allocations: 390.7 kB / 412 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.1644, allocations: 373.8 kB / 412.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.1655, allocations: 0.5777 MB / 413 MB, free: 12.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.1675, allocations: 0.952 MB / 413.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.1675, allocations: 3.938 kB / 413.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003446/0.171, allocations: 1.347 MB / 415.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.171, allocations: 15.88 kB / 415.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.171, allocations: 8 kB / 415.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008115/0.1718, allocations: 227 kB / 415.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/0.1757, allocations: 0.8272 MB / 416.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/0.1904, allocations: 10.05 MB / 426.4 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/0.1914, allocations: 131.2 kB / 426.5 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.1915, allocations: 43.98 kB / 426.5 MB, free: 14.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005815/0.1921, allocations: 281.9 kB / 426.8 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.1923, allocations: 95.39 kB / 426.9 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.1925, allocations: 104.1 kB / 427 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.1925, allocations: 8 kB / 427 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.1926, allocations: 0 / 427 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.1926, allocations: 3.984 kB / 427 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007065/0.1996, allocations: 2.142 MB / 429.2 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/0.1996, allocations: 0 / 429.2 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.2005, allocations: 119.9 kB / 429.3 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.2025, allocations: 428.8 kB / 429.7 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.2025, allocations: 16 kB / 429.7 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/0.2211, allocations: 10.09 MB / 439.8 MB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.2211, allocations: 3.938 kB / 439.8 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00736/0.2285, allocations: 1.937 MB / 441.7 MB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.2289, allocations: 107.2 kB / 441.9 MB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.229, allocations: 19.98 kB / 441.9 MB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.2303, allocations: 99.92 kB / 442 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.2305, allocations: 64.47 kB / 442 MB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.2306, allocations: 31.92 kB / 442.1 MB, free: 14.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001108/0.2317, allocations: 0.4991 MB / 442.6 MB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2317, allocations: 0 / 442.6 MB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002153/0.2338, allocations: 371.1 kB / 442.9 MB, free: 13.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * 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 (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002566/0.2341, allocations: 130.4 kB / 443.1 MB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008844/0.2429, allocations: 1.956 MB / 445 MB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/0.2429, allocations: 0 / 445 MB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002753/0.2457, allocations: 1.137 MB / 446.1 MB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.2476, allocations: 179.5 kB / 446.3 MB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006245/0.2538, allocations: 2.321 MB / 448.6 MB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.2545, allocations: 496 kB / 449.1 MB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004521/0.2549, allocations: 98.84 kB / 449.2 MB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.2551, allocations: 52.5 kB / 449.3 MB, free: 6.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.183e-06/0.2551, allocations: 4 kB / 449.3 MB, free: 6.977 MB / 414.1 MB Notification: Performance of Templates: time 0.02683/0.2819, allocations: 13.34 MB / 462.6 MB, free: 9.828 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.225799980922602]