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.001363/0.001363, allocations: 112 kB / 17.98 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 213.8 kB / 18.92 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.1 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 68.17 kB / 307.2 MB, free: 0.9102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1028, allocations: 50.53 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009814/0.1126, allocations: 7.858 MB / 365.5 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004658/0.1173, allocations: 1.889 MB / 367.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.1184, allocations: 31.88 kB / 367.5 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.119, allocations: 166.7 kB / 367.6 MB, free: 4.387 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.1201, allocations: 385.1 kB / 368 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.121, allocations: 447.6 kB / 368.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002596/0.1236, allocations: 1.798 MB / 370.2 MB, free: 1.766 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009965/0.1247, allocations: 0.613 MB / 370.9 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.1257, allocations: 0.6422 MB / 371.5 MB, free: 496 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1579/0.2836, allocations: 0.7084 MB / 372.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005584/0.2842, allocations: 178.7 kB / 372.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.2846, allocations: 180.3 kB / 372.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.2849, allocations: 352.5 kB / 372.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007561/0.2857, allocations: 0.7805 MB / 373.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.2875, allocations: 1.647 MB / 375.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.2875, allocations: 0 / 375.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2875, allocations: 0 / 375.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.504e-05/0.2876, allocations: 2.125 kB / 375.3 MB, free: 10.7 MB / 302.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.003582/0.2911, allocations: 1.78 MB / 377.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2912, allocations: 10.31 kB / 377.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.2915, allocations: 158.8 kB / 377.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009453/0.2924, allocations: 0.737 MB / 378 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.2925, allocations: 90.14 kB / 378.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.2926, allocations: 119 kB / 378.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.2951, allocations: 1.315 MB / 379.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.2951, allocations: 3.75 kB / 379.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2953, allocations: 59.31 kB / 379.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.2953, allocations: 29.31 kB / 379.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.2976, allocations: 1.119 MB / 380.7 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007966/0.3056, allocations: 4.991 MB / 385.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.3078, allocations: 1.201 MB / 386.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.3088, allocations: 0.5303 MB / 387.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.3089, allocations: 9.531 kB / 387.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3089, allocations: 47.44 kB / 387.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.936e-06/0.3089, allocations: 0 / 387.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.007768/0.3167, allocations: 2.939 MB / 390.5 MB, free: 3.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3168, allocations: 86.27 kB / 390.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3179, allocations: 0.8102 MB / 391.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.318, allocations: 43.89 kB / 391.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.3183, allocations: 0.5845 MB / 392 MB, free: 2.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.3185, allocations: 281.9 kB / 392.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.3187, allocations: 165.1 kB / 392.4 MB, free: 2.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.3188, allocations: 341.9 kB / 392.7 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007924/0.3196, allocations: 371.1 kB / 393.1 MB, free: 1.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009757/0.3206, allocations: 0.5831 MB / 393.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.3222, allocations: 0.955 MB / 394.6 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3222, allocations: 2.625 kB / 394.7 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002926/0.3252, allocations: 1.346 MB / 396 MB, free: 156 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3252, allocations: 11.95 kB / 396 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3252, allocations: 9.094 kB / 396 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000702/0.3259, allocations: 223.4 kB / 396.2 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/0.3292, allocations: 0.8361 MB / 397.1 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.3433, allocations: 10.85 MB / 407.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.3445, allocations: 138.8 kB / 408.1 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/0.3446, allocations: 44.06 kB / 408.1 MB, free: 5.625 MB / 318.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.0006345/0.3453, allocations: 267.2 kB / 408.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.3455, allocations: 106.8 kB / 408.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.3457, allocations: 100.9 kB / 408.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3457, allocations: 11.98 kB / 408.6 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.3457, allocations: 3.938 kB / 408.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3457, allocations: 7.922 kB / 408.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005405/0.3512, allocations: 2.458 MB / 411 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3512, allocations: 0 / 411 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.3517, allocations: 123 kB / 411.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.3531, allocations: 424.4 kB / 411.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/0.3532, allocations: 23.98 kB / 411.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.3674, allocations: 10.89 MB / 422.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3674, allocations: 0 / 422.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005065/0.3725, allocations: 1.936 MB / 424.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.3729, allocations: 187.8 kB / 424.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.3731, allocations: 16 kB / 424.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.3739, allocations: 103.9 kB / 424.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.3741, allocations: 68.02 kB / 424.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/0.3742, allocations: 23.98 kB / 424.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000818/0.375, allocations: 0.5498 MB / 425.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.375, allocations: 0 / 425.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00141/0.3764, allocations: 355 kB / 425.7 MB, free: 3.121 MB / 334.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.0002452/0.3767, allocations: 142.8 kB / 425.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006177/0.3829, allocations: 2.012 MB / 427.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.3829, allocations: 1.062 kB / 427.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.3848, allocations: 1.168 MB / 429 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.3862, allocations: 218.3 kB / 429.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/0.3917, allocations: 2.847 MB / 432.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000817/0.3925, allocations: 1.077 MB / 433.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.3928, allocations: 63.44 kB / 433.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3928, allocations: 3.938 kB / 433.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Templates: time 0.0482/0.441, allocations: 43.04 MB / 476.3 MB, free: 484 kB / 382.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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches