Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001782/0.001782, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.89 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2762, allocations: 50.54 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009007/0.2853, allocations: 7.891 MB / 417.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004562/0.2899, allocations: 1.893 MB / 419.1 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.2912, allocations: 27.88 kB / 419.1 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006603/0.292, allocations: 237.7 kB / 419.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.2932, allocations: 456.3 kB / 419.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009811/0.2942, allocations: 0.4993 MB / 420.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.2962, allocations: 1.802 MB / 422.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008921/0.2971, allocations: 0.6091 MB / 422.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008346/0.298, allocations: 0.6422 MB / 423.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007809/0.2988, allocations: 0.7117 MB / 424 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002479/0.299, allocations: 180 kB / 424.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.2993, allocations: 184 kB / 424.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.2996, allocations: 354.8 kB / 424.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008382/0.3004, allocations: 0.7737 MB / 425.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.3024, allocations: 2.049 MB / 427.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3024, allocations: 0 / 427.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3025, allocations: 0 / 427.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.249e-05/0.3025, allocations: 0 / 427.6 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.00343/0.3059, allocations: 1.789 MB / 429.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.306, allocations: 8.031 kB / 429.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.3062, allocations: 159.1 kB / 429.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.3075, allocations: 0.7569 MB / 430.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.913e-05/0.3076, allocations: 94.39 kB / 430.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.3078, allocations: 120 kB / 430.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.3105, allocations: 1.316 MB / 431.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.3105, allocations: 3.938 kB / 431.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.3106, allocations: 52 kB / 431.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.3107, allocations: 28 kB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.3131, allocations: 1.118 MB / 433 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007707/0.3208, allocations: 4.949 MB / 437.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.3233, allocations: 1.211 MB / 439.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.3244, allocations: 0.5409 MB / 439.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.079e-05/0.3245, allocations: 8.656 kB / 439.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3245, allocations: 43.22 kB / 439.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.705e-06/0.3245, allocations: 0 / 439.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008107/0.3327, allocations: 2.936 MB / 442.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3327, allocations: 85.77 kB / 442.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.3339, allocations: 0.8059 MB / 443.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.51e-05/0.334, allocations: 45.7 kB / 443.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.3344, allocations: 0.588 MB / 444.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.3347, allocations: 279.9 kB / 444.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/0.335, allocations: 174.5 kB / 444.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3352, allocations: 345.9 kB / 445 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009116/0.3361, allocations: 365.8 kB / 445.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.3372, allocations: 0.5816 MB / 445.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.3394, allocations: 0.952 MB / 446.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3395, allocations: 0 / 446.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003255/0.3427, allocations: 1.358 MB / 448.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.3428, allocations: 8 kB / 448.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.3428, allocations: 8 kB / 448.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007893/0.3436, allocations: 218.5 kB / 448.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003361/0.3469, allocations: 0.835 MB / 449.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/0.3605, allocations: 10.83 MB / 460.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.3616, allocations: 154.8 kB / 460.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.3617, allocations: 40 kB / 460.3 MB, free: 12.76 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.0005201/0.3622, allocations: 277.5 kB / 460.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.3624, allocations: 94.88 kB / 460.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.3626, allocations: 116.8 kB / 460.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3626, allocations: 8 kB / 460.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3626, allocations: 3.938 kB / 460.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3627, allocations: 7.984 kB / 460.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005/0.3677, allocations: 2.448 MB / 463.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.3677, allocations: 3.938 kB / 463.3 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.3682, allocations: 131.8 kB / 463.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.3696, allocations: 420.9 kB / 463.8 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.3696, allocations: 16 kB / 463.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.3827, allocations: 10.9 MB / 474.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3827, allocations: 0 / 474.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0045/0.3872, allocations: 1.94 MB / 476.7 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.3875, allocations: 179.9 kB / 476.8 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/0.3877, allocations: 16 kB / 476.9 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/0.3884, allocations: 107.8 kB / 477 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.3886, allocations: 60.48 kB / 477 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.3886, allocations: 27.98 kB / 477 MB, free: 11.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007186/0.3894, allocations: 0.5459 MB / 477.6 MB, free: 10.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3894, allocations: 0 / 477.6 MB, free: 10.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001261/0.3906, allocations: 362.9 kB / 478 MB, free: 10.11 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.0002156/0.3909, allocations: 139.2 kB / 478.1 MB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005676/0.3965, allocations: 1.994 MB / 480.1 MB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3966, allocations: 0 / 480.1 MB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.3983, allocations: 1.16 MB / 481.2 MB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3994, allocations: 203.9 kB / 481.4 MB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.4041, allocations: 2.283 MB / 483.7 MB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.4048, allocations: 1.074 MB / 484.8 MB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004026/0.4052, allocations: 111.4 kB / 484.9 MB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.4054, allocations: 59.44 kB / 485 MB, free: 2.906 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4054, allocations: 0 / 485 MB, free: 2.906 MB / 398.1 MB Notification: Performance of Templates: time 0.02521/0.4306, allocations: 14.62 MB / 499.6 MB, free: 4.41 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches