Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 106.9 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009692/0.0009692, allocations: 47.94 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2337, allocations: 49.42 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.007899/0.2416, allocations: 7.877 MB / 409.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.2446, allocations: 1.858 MB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004552/0.2451, allocations: 31.88 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.2455, allocations: 229.7 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007153/0.2462, allocations: 464.1 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.247, allocations: 0.4955 MB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.2484, allocations: 1.798 MB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007203/0.2491, allocations: 0.613 MB / 414.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005621/0.2497, allocations: 0.6383 MB / 415.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.2503, allocations: 0.7156 MB / 416.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.2505, allocations: 180 kB / 416.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.2508, allocations: 180 kB / 416.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.251, allocations: 354.7 kB / 416.8 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005907/0.2516, allocations: 0.7776 MB / 417.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.2531, allocations: 2.041 MB / 419.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2531, allocations: 0 / 419.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2531, allocations: 0 / 419.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.2532, allocations: 0 / 419.7 MB, free: 6.547 MB / 334.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.003085/0.2563, allocations: 1.797 MB / 421.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2563, allocations: 8.031 kB / 421.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.2565, allocations: 159.1 kB / 421.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.2577, allocations: 0.7568 MB / 422.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/0.2577, allocations: 98.39 kB / 422.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.2579, allocations: 120 kB / 422.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.2604, allocations: 1.312 MB / 423.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.2604, allocations: 0 / 423.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.2605, allocations: 51.98 kB / 424 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.2605, allocations: 28 kB / 424 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.263, allocations: 1.118 MB / 425.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007531/0.2706, allocations: 4.952 MB / 430.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.2731, allocations: 1.208 MB / 431.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.2743, allocations: 0.5294 MB / 431.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.2743, allocations: 12.64 kB / 431.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2743, allocations: 47.22 kB / 431.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.535e-06/0.2744, allocations: 4 kB / 431.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008796/0.2832, allocations: 2.936 MB / 434.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.2832, allocations: 89.77 kB / 434.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.2844, allocations: 0.802 MB / 435.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.2844, allocations: 41.7 kB / 435.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.2848, allocations: 0.5881 MB / 436.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.285, allocations: 279.9 kB / 436.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.2853, allocations: 166.6 kB / 436.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2854, allocations: 341.9 kB / 437.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000979/0.2864, allocations: 373.8 kB / 437.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.2874, allocations: 0.5856 MB / 438 MB, free: 3.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.2893, allocations: 0.9558 MB / 439 MB, free: 2.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.2894, allocations: 4 kB / 439 MB, free: 2.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003262/0.2926, allocations: 1.357 MB / 440.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.2927, allocations: 11.28 kB / 440.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.2927, allocations: 8 kB / 440.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007862/0.2935, allocations: 222.7 kB / 440.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/0.2971, allocations: 0.8311 MB / 441.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.3107, allocations: 10.85 MB / 452.3 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009965/0.3117, allocations: 142.8 kB / 452.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.3118, allocations: 39.98 kB / 452.4 MB, free: 4.074 MB / 366.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.0005143/0.3124, allocations: 277.6 kB / 452.7 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.3126, allocations: 94.88 kB / 452.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.3128, allocations: 108.9 kB / 452.9 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3128, allocations: 7.922 kB / 452.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3128, allocations: 4 kB / 452.9 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.3131, allocations: 183.7 kB / 453.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.3132, allocations: 16 kB / 453.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/0.314, allocations: 111.9 kB / 453.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.3142, allocations: 60.55 kB / 453.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004855/0.319, allocations: 1.625 MB / 454.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002807/0.3219, allocations: 1.482 MB / 456.4 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008032/0.3227, allocations: 357 kB / 456.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007285/0.3234, allocations: 0.5459 MB / 457.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.3234, allocations: 0 / 457.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005634/0.3291, allocations: 1.78 MB / 459.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 0.0034/0.3325, allocations: 2.629 MB / 461.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Templates: time 0.02318/0.3557, allocations: 14.42 MB / 476.1 MB, free: 12.34 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches