Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 225.6 MB / 234.8 MB, free: 3.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008153/0.0008153, allocations: 98.48 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.952e-05, allocations: 4 kB / 343.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08867, allocations: 51.48 MB / 395.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3204/0.4091, allocations: 81.76 MB / 476.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.4093, allocations: 83.03 kB / 477 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.4263, allocations: 6.944 MB / 484 MB, free: 5.504 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4263, allocations: 3.062 kB / 484 MB, free: 5.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.4263, allocations: 15.94 kB / 484 MB, free: 5.488 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009765/0.4273, allocations: 0.6071 MB / 484.6 MB, free: 4.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4274, allocations: 11.22 kB / 484.6 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.677e-05/0.4275, allocations: 42.81 kB / 484.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.4278, allocations: 308.6 kB / 484.9 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.4278, allocations: 8 kB / 485 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.4279, allocations: 16 kB / 485 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003215/0.4282, allocations: 196.4 kB / 485.2 MB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.4286, allocations: 261.9 kB / 485.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4286, allocations: 0 / 485.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.4286, allocations: 3.984 kB / 485.4 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4287, allocations: 8 kB / 485.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.4305, allocations: 1.243 MB / 486.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.4309, allocations: 250.9 kB / 486.9 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.4311, allocations: 92.47 kB / 487 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.4311, allocations: 0 / 487 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.4313, allocations: 150.4 kB / 487.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.164e-06/0.4313, allocations: 4 kB / 487.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005552/0.4319, allocations: 234.4 kB / 487.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.4319, allocations: 110.7 kB / 487.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.4321, allocations: 239.7 kB / 487.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.4322, allocations: 29.7 kB / 487.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.4323, allocations: 209.5 kB / 488 MB, free: 1.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.4323, allocations: 54.2 kB / 488 MB, free: 1.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.4323, allocations: 0 / 488 MB, free: 1.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.4324, allocations: 337.6 kB / 488.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.555e-05/0.4325, allocations: 60.47 kB / 488.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.4326, allocations: 168.9 kB / 488.6 MB, free: 1.379 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.4327, allocations: 75.55 kB / 488.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4327, allocations: 4 kB / 488.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006009/0.4333, allocations: 334.6 kB / 489 MB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.4334, allocations: 33.7 kB / 489 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4334, allocations: 10.92 kB / 489 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001339/0.4335, allocations: 39.78 kB / 489.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.4338, allocations: 75.77 kB / 489.1 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009321/0.4348, allocations: 1.323 MB / 490.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.4351, allocations: 58.84 kB / 490.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.4351, allocations: 15.97 kB / 490.5 MB, free: 15.47 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: firstOrder.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.4353, allocations: 119 kB / 490.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.4353, allocations: 23.72 kB / 490.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.4354, allocations: 25.27 kB / 490.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4354, allocations: 7.953 kB / 490.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.4354, allocations: 0 / 490.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4354, allocations: 0 / 490.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008941/0.4363, allocations: 0.6503 MB / 491.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4363, allocations: 7.984 kB / 491.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.4366, allocations: 43.97 kB / 491.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.906e-05/0.4367, allocations: 35.89 kB / 491.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.4367, allocations: 4 kB / 491.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.4377, allocations: 1.318 MB / 492.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4377, allocations: 0 / 492.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.4384, allocations: 432.3 kB / 493.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.4385, allocations: 104 kB / 493.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.4385, allocations: 7.125 kB / 493.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.4388, allocations: 47.77 kB / 493.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.4389, allocations: 19.59 kB / 493.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.4389, allocations: 4 kB / 493.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.4391, allocations: 181.6 kB / 493.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4391, allocations: 0 / 493.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.4395, allocations: 91.44 kB / 493.6 MB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.4396, allocations: 103.2 kB / 493.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.4401, allocations: 333 kB / 494 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4401, allocations: 0 / 494 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.4403, allocations: 179 kB / 494.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.4406, allocations: 51.27 kB / 494.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.4421, allocations: 0.5651 MB / 494.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.4425, allocations: 0.7755 MB / 495.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.4426, allocations: 31.27 kB / 495.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.4427, allocations: 23.44 kB / 495.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4427, allocations: 0 / 495.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Templates: time 0.006538/0.4492, allocations: 3.34 MB / 499 MB, free: 7.258 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches