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.001414/0.001414, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 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.001505/0.001505, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.423/1.423, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.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.001571/0.001571, allocations: 47.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2252, allocations: 53.38 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008601/0.2338, allocations: 6.865 MB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.2374, allocations: 1.874 MB / 441.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000548/0.238, allocations: 31.81 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004967/0.2385, allocations: 241.7 kB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008642/0.2393, allocations: 452.3 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008664/0.2402, allocations: 0.5071 MB / 442.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.2421, allocations: 1.794 MB / 444.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006737/0.2427, allocations: 448.3 kB / 444.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007082/0.2434, allocations: 0.654 MB / 445.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/0.2442, allocations: 0.7156 MB / 445.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.2445, allocations: 187.9 kB / 446.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.2447, allocations: 180 kB / 446.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.245, allocations: 350.8 kB / 446.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006256/0.2457, allocations: 0.6339 MB / 447.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.2476, allocations: 2.069 MB / 449.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2476, allocations: 4 kB / 449.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2476, allocations: 0 / 449.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.2477, allocations: 7.922 kB / 449.3 MB, free: 5.633 MB / 350.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.003533/0.2512, allocations: 1.744 MB / 451.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2512, allocations: 8.031 kB / 451.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.2515, allocations: 164 kB / 451.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.2528, allocations: 0.6971 MB / 452 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.2528, allocations: 94.39 kB / 452 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.253, allocations: 124 kB / 452.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.2558, allocations: 1.639 MB / 453.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.2558, allocations: 0 / 453.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.256, allocations: 52 kB / 453.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.256, allocations: 32 kB / 453.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.2586, allocations: 1.122 MB / 455 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007756/0.2664, allocations: 4.233 MB / 459.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.2689, allocations: 0.9914 MB / 460.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.2701, allocations: 486.1 kB / 460.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.2701, allocations: 8.656 kB / 460.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.2702, allocations: 47.22 kB / 460.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.635e-06/0.2702, allocations: 0 / 460.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009141/0.2793, allocations: 2.469 MB / 463.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.2794, allocations: 85.77 kB / 463.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.2804, allocations: 0.7506 MB / 464.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.2805, allocations: 41.7 kB / 464.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.281, allocations: 0.6131 MB / 464.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.2812, allocations: 301.4 kB / 465 MB, free: 5.473 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.2815, allocations: 170.6 kB / 465.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.2817, allocations: 394.7 kB / 465.6 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009627/0.2827, allocations: 369.8 kB / 465.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.2838, allocations: 0.5785 MB / 466.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.2859, allocations: 0.9482 MB / 467.5 MB, free: 2.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.2859, allocations: 3.938 kB / 467.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003439/0.2894, allocations: 1.343 MB / 468.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2894, allocations: 15.97 kB / 468.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2894, allocations: 8 kB / 468.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008871/0.2903, allocations: 226.4 kB / 469 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004007/0.2943, allocations: 0.8388 MB / 469.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/0.3094, allocations: 10.06 MB / 479.9 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009711/0.3104, allocations: 131.3 kB / 480.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.3104, allocations: 43.98 kB / 480.1 MB, free: 5.543 MB / 382.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.000496/0.3109, allocations: 273.9 kB / 480.4 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.3111, allocations: 95.39 kB / 480.5 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.3113, allocations: 104.1 kB / 480.6 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3113, allocations: 8 kB / 480.6 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.3113, allocations: 4 kB / 480.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3113, allocations: 7.984 kB / 480.6 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005291/0.3166, allocations: 2.138 MB / 482.7 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3166, allocations: 0 / 482.7 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/0.3172, allocations: 127.9 kB / 482.9 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.3187, allocations: 416.8 kB / 483.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.3187, allocations: 20 kB / 483.3 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/0.3325, allocations: 10.09 MB / 493.4 MB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3325, allocations: 3.938 kB / 493.4 MB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00515/0.3376, allocations: 1.937 MB / 495.3 MB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.3379, allocations: 103.3 kB / 495.4 MB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.338, allocations: 12 kB / 495.4 MB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008175/0.3388, allocations: 103.9 kB / 495.5 MB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.3389, allocations: 60.53 kB / 495.6 MB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/0.339, allocations: 31.92 kB / 495.6 MB, free: 5.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007075/0.3397, allocations: 0.4991 MB / 496.1 MB, free: 4.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3397, allocations: 0 / 496.1 MB, free: 4.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001293/0.341, allocations: 371.1 kB / 496.5 MB, free: 4.43 MB / 398.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.0001961/0.3412, allocations: 131.1 kB / 496.6 MB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006232/0.3474, allocations: 1.957 MB / 498.6 MB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3474, allocations: 3.938 kB / 498.6 MB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.3493, allocations: 1.129 MB / 499.7 MB, free: 1.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3504, allocations: 184.7 kB / 499.9 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.3553, allocations: 2.328 MB / 0.4904 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.3558, allocations: 500 kB / 0.4909 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003718/0.3562, allocations: 94.86 kB / 0.491 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.3564, allocations: 51.44 kB / 0.491 GB, free: 13.88 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3564, allocations: 4 kB / 0.4911 GB, free: 13.87 MB / 414.1 MB Notification: Performance of Templates: time 0.02676/0.3831, allocations: 15.09 MB / 0.5058 GB, free: 14.97 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 gbode -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.215557987001375]