Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001571/0.001572, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002186/0.002187, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2387, allocations: 50.55 MB / 410 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00406/0.2428, allocations: 2.874 MB / 412.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2442, allocations: 0.744 MB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.2443, allocations: 4 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.2445, allocations: 47.5 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.2446, allocations: 95.19 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.2449, allocations: 111.8 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.2453, allocations: 394.5 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.2455, allocations: 135.2 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.2458, allocations: 155.4 kB / 414.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.246, allocations: 175.2 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.2461, allocations: 36 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.485e-05/0.2461, allocations: 40 kB / 414.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.2462, allocations: 67.77 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.2463, allocations: 171.2 kB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.2467, allocations: 419.7 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2467, allocations: 0 / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2468, allocations: 4 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2468, allocations: 3.938 kB / 415.4 MB, free: 12.12 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0012/0.248, allocations: 0.6643 MB / 416.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.248, allocations: 12.03 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.2481, allocations: 36.56 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.2485, allocations: 284.7 kB / 416.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.2485, allocations: 16.94 kB / 416.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/0.2486, allocations: 24.38 kB / 416.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/0.2493, allocations: 323.9 kB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2493, allocations: 0 / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.2494, allocations: 8 kB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2494, allocations: 8 kB / 416.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/0.2502, allocations: 274 kB / 417 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.252, allocations: 1.169 MB / 418.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008378/0.2529, allocations: 242.6 kB / 418.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.2532, allocations: 104.8 kB / 418.6 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.2533, allocations: 0 / 418.6 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004355/0.2537, allocations: 172.9 kB / 418.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.2537, allocations: 0 / 418.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001993/0.2557, allocations: 0.5927 MB / 419.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.2558, allocations: 81.05 kB / 419.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.256, allocations: 278.4 kB / 419.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2561, allocations: 29.7 kB / 419.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2562, allocations: 191.6 kB / 419.9 MB, free: 7.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.2563, allocations: 43.45 kB / 419.9 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.2564, allocations: 49.61 kB / 420 MB, free: 7.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2565, allocations: 330.8 kB / 420.3 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.2568, allocations: 104.2 kB / 420.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.2572, allocations: 191.5 kB / 420.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.2579, allocations: 303.7 kB / 420.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2579, allocations: 0 / 420.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001143/0.2591, allocations: 447.4 kB / 421.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.2591, allocations: 33.7 kB / 421.4 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2591, allocations: 3.938 kB / 421.4 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002976/0.2594, allocations: 68.86 kB / 421.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.2597, allocations: 59.91 kB / 421.5 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.2617, allocations: 1.641 MB / 423.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.262, allocations: 47.72 kB / 423.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.2621, allocations: 20.05 kB / 423.2 MB, free: 3.793 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.2622, allocations: 149.9 kB / 423.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.2623, allocations: 19.75 kB / 423.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.2623, allocations: 29.7 kB / 423.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2623, allocations: 0 / 423.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2623, allocations: 0 / 423.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.2624, allocations: 100.8 kB / 423.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.2624, allocations: 7.938 kB / 423.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2627, allocations: 31.97 kB / 423.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.2628, allocations: 19.97 kB / 423.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001254/0.264, allocations: 425.4 kB / 424 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001036/0.2651, allocations: 0.4984 MB / 424.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003227/0.2654, allocations: 104 kB / 424.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.2656, allocations: 189.9 kB / 424.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of Backend: time 3.9e-07/0.2656, allocations: 0 / 424.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009544/0.2666, allocations: 408.2 kB / 425.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009811/0.2676, allocations: 0.9668 MB / 426.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of Templates: time 0.007159/0.2747, allocations: 3.853 MB / 430 MB, free: 12.93 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches