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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 117.6 kB / 18.46 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 216.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB 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.00196/0.00196, allocations: 71.83 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2834, allocations: 50.54 MB / 410.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009585/0.293, allocations: 7.895 MB / 418.1 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004701/0.2977, allocations: 1.909 MB / 420.1 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.2988, allocations: 27.88 kB / 420.1 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000636/0.2994, allocations: 229.7 kB / 420.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.3006, allocations: 456.2 kB / 420.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009852/0.3016, allocations: 0.4994 MB / 421.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002231/0.3038, allocations: 1.794 MB / 423 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/0.3046, allocations: 443.8 kB / 423.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000904/0.3055, allocations: 0.6383 MB / 424.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008099/0.3063, allocations: 0.7233 MB / 424.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.3065, allocations: 180 kB / 425 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.3068, allocations: 180 kB / 425.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.3071, allocations: 354.8 kB / 425.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000732/0.3078, allocations: 0.7776 MB / 426.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.31, allocations: 2.054 MB / 428.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.31, allocations: 3.938 kB / 428.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.31, allocations: 0 / 428.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.691e-05/0.31, allocations: 0 / 428.4 MB, free: 15.2 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.003709/0.3137, allocations: 1.819 MB / 430.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.3138, allocations: 12.03 kB / 430.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.3141, allocations: 160 kB / 430.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.3153, allocations: 0.7653 MB / 431.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/0.3154, allocations: 94.39 kB / 431.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.3156, allocations: 124 kB / 431.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.3181, allocations: 1.309 MB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.3181, allocations: 11.88 kB / 432.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.3182, allocations: 52 kB / 432.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.3183, allocations: 28 kB / 432.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.3209, allocations: 1.118 MB / 433.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008765/0.3296, allocations: 4.958 MB / 438.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.3322, allocations: 1.164 MB / 440 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.3333, allocations: 490.1 kB / 440.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.3334, allocations: 8.656 kB / 440.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.3334, allocations: 47.16 kB / 440.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.765e-06/0.3334, allocations: 0 / 440.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.00903/0.3424, allocations: 2.929 MB / 443.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.3425, allocations: 89.7 kB / 443.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.3437, allocations: 0.802 MB / 444.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.443e-05/0.3438, allocations: 41.7 kB / 444.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.3443, allocations: 0.6131 MB / 445 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.3446, allocations: 293.5 kB / 445.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/0.3448, allocations: 166.6 kB / 445.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.345, allocations: 345.9 kB / 445.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/0.3459, allocations: 365.8 kB / 446.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.347, allocations: 0.5855 MB / 446.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.349, allocations: 0.9442 MB / 447.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.349, allocations: 4 kB / 447.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00336/0.3524, allocations: 1.358 MB / 449 MB, free: 9.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3524, allocations: 8 kB / 449 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3524, allocations: 4 kB / 449 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008372/0.3533, allocations: 226.4 kB / 449.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/0.3569, allocations: 0.8389 MB / 450.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/0.3719, allocations: 10.85 MB / 460.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.373, allocations: 151.2 kB / 461.1 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.373, allocations: 36 kB / 461.1 MB, free: 12.77 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.000519/0.3736, allocations: 269.6 kB / 461.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.3737, allocations: 107.3 kB / 461.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.374, allocations: 112.8 kB / 461.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.374, allocations: 11.94 kB / 461.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.374, allocations: 3.938 kB / 461.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.374, allocations: 3.984 kB / 461.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/0.3793, allocations: 2.444 MB / 464.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3793, allocations: 4 kB / 464.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/0.3799, allocations: 119.9 kB / 464.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.3813, allocations: 436.8 kB / 464.6 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.3813, allocations: 19.98 kB / 464.6 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/0.3963, allocations: 10.89 MB / 475.5 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3963, allocations: 0 / 475.5 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005197/0.4015, allocations: 1.933 MB / 477.5 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/0.4019, allocations: 196.3 kB / 477.6 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.4021, allocations: 12 kB / 477.7 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008195/0.4029, allocations: 107.8 kB / 477.8 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.4031, allocations: 64.42 kB / 477.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.4031, allocations: 27.98 kB / 477.9 MB, free: 11.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008718/0.404, allocations: 0.5459 MB / 478.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.404, allocations: 0 / 478.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001639/0.4056, allocations: 363.2 kB / 478.8 MB, free: 10.12 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.0003294/0.406, allocations: 136.7 kB / 478.9 MB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006363/0.4123, allocations: 1.947 MB / 480.8 MB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.4123, allocations: 4 kB / 480.8 MB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.4142, allocations: 1.141 MB / 482 MB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.4156, allocations: 202.7 kB / 482.2 MB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.4207, allocations: 2.326 MB / 484.5 MB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/0.4215, allocations: 1.078 MB / 485.6 MB, free: 3.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004624/0.4219, allocations: 107.4 kB / 485.7 MB, free: 3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.4221, allocations: 59.44 kB / 485.7 MB, free: 2.941 MB / 398.1 MB Notification: Performance of SimCode: time 1.143e-06/0.4221, allocations: 0 / 485.7 MB, free: 2.941 MB / 398.1 MB Notification: Performance of Templates: time 0.02778/0.4499, allocations: 14.71 MB / 0.4887 GB, free: 4.352 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (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 gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches