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.001377/0.001377, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001453/0.001453, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.603/1.603, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.001652/0.001652, allocations: 55.86 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3979, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009225/0.4071, allocations: 6.865 MB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004652/0.4118, allocations: 1.866 MB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009436/0.4127, allocations: 35.81 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006173/0.4134, allocations: 233.7 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.4144, allocations: 456.3 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.4154, allocations: 0.5071 MB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.4174, allocations: 1.794 MB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007346/0.4182, allocations: 448.3 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008341/0.419, allocations: 0.654 MB / 445.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000821/0.4198, allocations: 0.7195 MB / 445.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.4201, allocations: 180 kB / 446.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.4203, allocations: 176 kB / 446.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.4206, allocations: 362.7 kB / 446.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007022/0.4213, allocations: 0.6378 MB / 447.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.4235, allocations: 2.06 MB / 449.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.4235, allocations: 0 / 449.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4235, allocations: 4 kB / 449.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.15e-05/0.4236, allocations: 3.938 kB / 449.3 MB, free: 5.648 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.003746/0.4273, allocations: 1.751 MB / 451.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4274, allocations: 12.03 kB / 451.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.4276, allocations: 160 kB / 451.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.4289, allocations: 0.6971 MB / 451.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/0.429, allocations: 94.39 kB / 452 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.4292, allocations: 120 kB / 452.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.432, allocations: 1.639 MB / 453.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.432, allocations: 0 / 453.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.4322, allocations: 56 kB / 453.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/0.4322, allocations: 32 kB / 453.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.4348, allocations: 1.118 MB / 455 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00788/0.4427, allocations: 4.237 MB / 459.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.4452, allocations: 0.9914 MB / 460.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.4463, allocations: 490 kB / 460.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.4464, allocations: 8.656 kB / 460.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.4464, allocations: 43.22 kB / 460.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.234e-06/0.4464, allocations: 0 / 460.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008788/0.4552, allocations: 2.477 MB / 463.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.4553, allocations: 89.75 kB / 463.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.4565, allocations: 0.7545 MB / 464.1 MB, free: 6.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-05/0.4566, allocations: 41.7 kB / 464.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005409/0.4571, allocations: 0.6053 MB / 464.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.4575, allocations: 293.4 kB / 465 MB, free: 5.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.4578, allocations: 178.6 kB / 465.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.458, allocations: 394.7 kB / 465.6 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/0.4589, allocations: 365.8 kB / 465.9 MB, free: 4.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.46, allocations: 0.5824 MB / 466.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.462, allocations: 0.9482 MB / 467.5 MB, free: 2.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.462, 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.0034/0.4654, allocations: 1.343 MB / 468.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.4655, allocations: 11.94 kB / 468.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.4655, allocations: 16.3 kB / 468.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008684/0.4664, allocations: 226.4 kB / 469.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/0.4699, allocations: 0.8349 MB / 469.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/0.4846, allocations: 10.04 MB / 479.9 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.4858, allocations: 135.2 kB / 480.1 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.4859, allocations: 44.05 kB / 480.1 MB, free: 5.551 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.0005926/0.4865, allocations: 277.8 kB / 480.4 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.4867, allocations: 95.44 kB / 480.5 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.4869, allocations: 100.1 kB / 480.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4869, allocations: 8 kB / 480.6 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.4869, allocations: 4 kB / 480.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.4869, allocations: 3.984 kB / 480.6 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005286/0.4922, allocations: 2.138 MB / 482.7 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.4922, allocations: 4 kB / 482.7 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.4929, allocations: 123.8 kB / 482.8 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.4944, allocations: 428.9 kB / 483.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.4945, allocations: 12 kB / 483.3 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/0.5093, allocations: 10.09 MB / 493.4 MB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5093, allocations: 8 kB / 493.4 MB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005306/0.5146, allocations: 1.933 MB / 495.3 MB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.515, allocations: 95.36 kB / 495.4 MB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5151, allocations: 19.98 kB / 495.4 MB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008085/0.5159, allocations: 95.92 kB / 495.5 MB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/0.5161, allocations: 72.53 kB / 495.6 MB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.5162, allocations: 23.94 kB / 495.6 MB, free: 5.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001019/0.5172, allocations: 0.499 MB / 496.1 MB, free: 4.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5172, allocations: 0 / 496.1 MB, free: 4.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001547/0.5187, allocations: 375.1 kB / 496.5 MB, free: 4.434 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.000237/0.519, allocations: 127.4 kB / 496.6 MB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006246/0.5252, allocations: 1.949 MB / 498.5 MB, free: 2.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.5252, allocations: 11.94 kB / 498.6 MB, free: 2.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002061/0.5273, allocations: 1.132 MB / 499.7 MB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5285, allocations: 193.6 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.00548/0.534, 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.0005744/0.5346, allocations: 492 kB / 0.4909 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006134/0.5352, allocations: 90.88 kB / 0.491 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.5353, allocations: 55.44 kB / 0.491 GB, free: 13.88 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.5353, allocations: 0 / 0.491 GB, free: 13.88 MB / 414.1 MB Notification: Performance of Templates: time 0.03046/0.5658, allocations: 15.09 MB / 0.5058 GB, free: 14.98 MB / 430.1 MB " [Timeout remaining time 659] 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 cvode -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.933574286988005]