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.002645/0.002645, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002011/0.002011, allocations: 169.3 kB / 24.28 MB, free: 152 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.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.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 1.963e-06/1.963e-06, allocations: 0 / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/3.529e-05, allocations: 2.312 kB / 272.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01763/0.01767, allocations: 7.622 MB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00701/0.02468, allocations: 1.889 MB / 281.9 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.02601, allocations: 35.81 kB / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.02702, allocations: 233.7 kB / 282.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.02901, allocations: 476 kB / 282.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.03079, allocations: 0.5032 MB / 283.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003868/0.03466, allocations: 1.863 MB / 285 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.03619, allocations: 420.2 kB / 285.4 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.03842, allocations: 0.998 MB / 286.4 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.03982, allocations: 0.5569 MB / 286.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.04022, allocations: 180 kB / 287.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.04069, allocations: 184 kB / 287.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005427/0.04123, allocations: 362.6 kB / 287.6 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.04232, allocations: 0.5378 MB / 288.2 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1461/0.1884, allocations: 2.095 MB / 290.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1884, allocations: 2.781 kB / 290.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1884, allocations: 0 / 290.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.7e-05/0.1885, allocations: 0.7656 kB / 290.3 MB, free: 18.62 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003324/0.1918, allocations: 1.906 MB / 292.2 MB, free: 17.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1918, allocations: 9.438 kB / 292.2 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/0.1922, allocations: 258.7 kB / 292.5 MB, free: 17.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.1933, allocations: 0.715 MB / 293.2 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.42e-05/0.1933, allocations: 94.2 kB / 293.3 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.1935, allocations: 125.2 kB / 293.4 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.196, allocations: 1.677 MB / 295.1 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.196, allocations: 2.656 kB / 295.1 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.1961, allocations: 56.62 kB / 295.1 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.1961, allocations: 29.38 kB / 295.1 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.1984, allocations: 1.016 MB / 296.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007809/0.2062, allocations: 5.132 MB / 301.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.208, allocations: 0.9299 MB / 302.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/0.2089, allocations: 462 kB / 302.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.285e-05/0.209, allocations: 20.48 kB / 302.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.209, allocations: 50.09 kB / 302.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 2.735e-06/0.209, allocations: 4 kB / 302.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.00604/0.215, allocations: 1.954 MB / 304.7 MB, free: 13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2151, allocations: 87.48 kB / 304.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.216, allocations: 0.9552 MB / 305.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.2161, allocations: 40.86 kB / 305.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.2164, allocations: 0.6992 MB / 306.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.2166, allocations: 312.5 kB / 306.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.2168, allocations: 203.3 kB / 307 MB, free: 11.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.217, allocations: 0.6347 MB / 307.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.2176, allocations: 327.2 kB / 307.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.2183, allocations: 0.6403 MB / 308.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.2196, allocations: 1.009 MB / 309.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.2196, allocations: 5.625 kB / 309.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002245/0.2219, allocations: 1.266 MB / 310.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2219, allocations: 8 kB / 310.9 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.2219, allocations: 8 kB / 310.9 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.223, allocations: 296.2 kB / 311.2 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/0.2252, allocations: 0.5506 MB / 311.7 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.2369, allocations: 12.91 MB / 324.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.238, allocations: 119.3 kB / 324.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/0.2381, allocations: 39.98 kB / 324.8 MB, free: 10.16 MB / 282.7 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.0007082/0.2388, allocations: 319.2 kB / 325.1 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.2391, allocations: 119.4 kB / 325.2 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.2394, allocations: 104.1 kB / 325.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.2394, allocations: 11.94 kB / 325.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.2394, allocations: 4 kB / 325.3 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.2394, allocations: 3.984 kB / 325.3 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004998/0.2444, allocations: 2.227 MB / 327.6 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.2444, allocations: 0 / 327.6 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.2449, allocations: 115.3 kB / 327.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002361/0.2473, allocations: 0.5304 MB / 328.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.2474, allocations: 16 kB / 328.2 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/0.264, allocations: 13.09 MB / 341.3 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.264, allocations: 4 kB / 341.3 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004774/0.2688, allocations: 1.814 MB / 343.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.2692, allocations: 115.2 kB / 343.2 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2693, allocations: 16 kB / 343.2 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007151/0.27, allocations: 83.94 kB / 343.3 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/0.2702, allocations: 60.53 kB / 343.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.2702, allocations: 24 kB / 343.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008784/0.2711, allocations: 0.5927 MB / 344 MB, free: 6.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2711, allocations: 0 / 344 MB, free: 6.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001544/0.2727, allocations: 371.1 kB / 344.4 MB, free: 5.82 MB / 298.7 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.000206/0.2729, allocations: 126 kB / 344.5 MB, free: 5.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004815/0.2777, allocations: 1.792 MB / 346.3 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2777, allocations: 1.062 kB / 346.3 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.2797, allocations: 1.466 MB / 347.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.2808, allocations: 197 kB / 347.9 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.2855, allocations: 2.201 MB / 350.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005929/0.2861, allocations: 488 kB / 350.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003824/0.2865, allocations: 94.88 kB / 350.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.2866, allocations: 56.5 kB / 350.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2866, allocations: 0 / 350.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.02758/0.3142, allocations: 13.53 MB / 364.3 MB, free: 1.973 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/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.343343036016449]