Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 110.4 kB / 21.17 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002055/0.002055, allocations: 215.6 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.564/1.564, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.83 kB / 378.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2668, allocations: 53.32 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01081/0.2776, allocations: 7.932 MB / 440 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004774/0.2824, allocations: 1.909 MB / 441.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.284, allocations: 23.94 kB / 442 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007157/0.2847, allocations: 241.6 kB / 442.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.2861, allocations: 456.3 kB / 442.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2873, allocations: 0.4955 MB / 443.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002259/0.2895, allocations: 1.794 MB / 444.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000775/0.2903, allocations: 443.9 kB / 445.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009043/0.2912, allocations: 0.6383 MB / 446 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009101/0.2921, allocations: 0.7156 MB / 446.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.2924, allocations: 184 kB / 446.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.2926, allocations: 180 kB / 447.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.293, allocations: 354.8 kB / 447.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007829/0.2938, allocations: 0.7775 MB / 448.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.2961, allocations: 2.052 MB / 450.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2961, allocations: 0 / 450.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2961, allocations: 3.938 kB / 450.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.2961, allocations: 0 / 450.2 MB, free: 5.098 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.003785/0.2999, allocations: 1.831 MB / 452.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2999, allocations: 8.031 kB / 452.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.3002, allocations: 164 kB / 452.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.3015, allocations: 0.7614 MB / 453 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.683e-05/0.3016, allocations: 98.39 kB / 453.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.3018, allocations: 120 kB / 453.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.3043, allocations: 1.316 MB / 454.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.3044, allocations: 3.938 kB / 454.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.3045, allocations: 52 kB / 454.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.3045, allocations: 28 kB / 454.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.3071, allocations: 1.122 MB / 455.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008445/0.3155, allocations: 4.966 MB / 460.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.3181, allocations: 1.153 MB / 461.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.3193, allocations: 490 kB / 462.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.3193, allocations: 8.656 kB / 462.3 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.3194, allocations: 43.22 kB / 462.4 MB, free: 8.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.484e-06/0.3194, allocations: 0 / 462.4 MB, free: 8.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009209/0.3286, allocations: 2.929 MB / 465.3 MB, free: 5.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.3286, allocations: 85.77 kB / 465.4 MB, free: 5.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.3299, allocations: 0.802 MB / 466.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/0.33, allocations: 45.7 kB / 466.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.3305, allocations: 0.6092 MB / 466.9 MB, free: 3.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.3308, allocations: 289.5 kB / 467.1 MB, free: 3.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.331, allocations: 170.6 kB / 467.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3312, allocations: 345.9 kB / 467.6 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009459/0.3322, allocations: 369.8 kB / 468 MB, free: 2.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3333, allocations: 0.5777 MB / 468.6 MB, free: 2.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.3354, allocations: 0.9637 MB / 469.5 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3354, allocations: 0 / 469.5 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003476/0.3389, allocations: 1.358 MB / 470.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.3389, allocations: 8 kB / 470.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.3389, allocations: 4 kB / 470.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008942/0.3398, allocations: 222.5 kB / 471.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/0.3436, allocations: 0.835 MB / 472 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/0.3587, allocations: 10.84 MB / 482.8 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3598, allocations: 151.2 kB / 483 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/0.3598, allocations: 43.98 kB / 483 MB, free: 2.672 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.00055/0.3604, allocations: 265.6 kB / 483.3 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.3606, allocations: 111.3 kB / 483.4 MB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.3608, allocations: 108.8 kB / 483.5 MB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3608, allocations: 8 kB / 483.5 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.3608, allocations: 3.938 kB / 483.5 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3608, allocations: 3.984 kB / 483.5 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/0.3662, allocations: 2.452 MB / 485.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3662, allocations: 0 / 485.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.3667, allocations: 119.8 kB / 486.1 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/0.3682, allocations: 436.8 kB / 486.5 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.3682, allocations: 16 kB / 486.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/0.3825, allocations: 10.89 MB / 497.4 MB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3825, allocations: 4.031 kB / 497.4 MB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/0.3876, allocations: 1.937 MB / 499.3 MB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.388, allocations: 192.3 kB / 499.5 MB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.3882, allocations: 16 kB / 499.5 MB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008199/0.389, allocations: 107.9 kB / 499.6 MB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.3891, allocations: 60.47 kB / 499.7 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/0.3892, allocations: 24 kB / 499.7 MB, free: 0.9258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007749/0.39, allocations: 0.5498 MB / 0.4886 GB, free: 388 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.39, allocations: 0 / 0.4886 GB, free: 388 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001315/0.3913, allocations: 359.3 kB / 0.4889 GB, free: 28 kB / 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.0002365/0.3915, allocations: 131.4 kB / 0.489 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006336/0.3979, allocations: 1.955 MB / 0.4909 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3979, allocations: 0 / 0.4909 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.3998, allocations: 1.137 MB / 0.492 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.4011, allocations: 208.7 kB / 0.4922 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.4062, allocations: 2.334 MB / 0.4945 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.407, allocations: 1.074 MB / 0.4956 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004364/0.4074, allocations: 111.4 kB / 0.4957 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.4076, allocations: 59.44 kB / 0.4957 GB, free: 8.844 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4076, allocations: 0 / 0.4957 GB, free: 8.844 MB / 414.1 MB Notification: Performance of Templates: time 0.02948/0.4371, allocations: 15.12 MB / 0.5105 GB, free: 9.855 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.215073642320931]