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.001478/0.001478, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.14 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2315, allocations: 50.54 MB / 410 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003659/0.2352, allocations: 2.878 MB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2364, allocations: 0.7479 MB / 413.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.2366, allocations: 4 kB / 413.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.2368, allocations: 39.58 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.237, allocations: 95.19 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.2373, allocations: 119.8 kB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.2377, allocations: 398.5 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2379, allocations: 127.2 kB / 414.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.2382, allocations: 155.4 kB / 414.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.2384, allocations: 171.2 kB / 414.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.2384, allocations: 36 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.2385, allocations: 40 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.2386, allocations: 71.81 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.2387, allocations: 167.2 kB / 415 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.2391, allocations: 427.7 kB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2391, allocations: 0 / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2391, allocations: 0 / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2391, allocations: 0 / 415.4 MB, free: 12.16 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.001188/0.2403, allocations: 0.6643 MB / 416.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2404, allocations: 8.031 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.2404, allocations: 36.56 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.2408, allocations: 280.8 kB / 416.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2408, allocations: 20.92 kB / 416.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.2409, allocations: 28.38 kB / 416.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.2416, allocations: 319.9 kB / 416.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2416, allocations: 4 kB / 416.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.2416, allocations: 12 kB / 416.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.2417, allocations: 7.984 kB / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007972/0.2425, allocations: 274.1 kB / 417 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.2443, allocations: 1.177 MB / 418.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.2452, allocations: 242.5 kB / 418.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.2455, allocations: 104.7 kB / 418.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2456, allocations: 0 / 418.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004556/0.246, allocations: 169 kB / 418.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.2461, allocations: 0 / 418.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002068/0.2481, allocations: 0.5927 MB / 419.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.2482, allocations: 85.05 kB / 419.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.2485, allocations: 274.5 kB / 419.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.2485, allocations: 29.7 kB / 419.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.2486, allocations: 195.5 kB / 419.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.2486, allocations: 43.44 kB / 419.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.2487, allocations: 53.61 kB / 420 MB, free: 7.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2488, allocations: 326.8 kB / 420.3 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.2492, allocations: 108.1 kB / 420.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.2496, allocations: 195.5 kB / 420.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.2503, allocations: 299.8 kB / 420.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2503, allocations: 0 / 420.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001191/0.2515, allocations: 435.8 kB / 421.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.2516, allocations: 40.45 kB / 421.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2516, allocations: 4 kB / 421.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.2519, allocations: 68.81 kB / 421.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.2521, allocations: 55.95 kB / 421.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.2542, allocations: 1.636 MB / 423.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.2546, allocations: 51.78 kB / 423.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.2546, allocations: 12 kB / 423.2 MB, free: 3.832 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.0001429/0.2548, allocations: 156.5 kB / 423.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.2548, allocations: 23.75 kB / 423.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.2548, allocations: 25.7 kB / 423.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2549, allocations: 0 / 423.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2549, allocations: 8 kB / 423.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2549, allocations: 0 / 423.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.2551, allocations: 321.3 kB / 423.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2552, allocations: 0 / 423.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.2554, allocations: 31.97 kB / 423.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.2556, allocations: 60.81 kB / 423.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2556, allocations: 4 kB / 423.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.2575, allocations: 1.636 MB / 425.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2575, allocations: 0 / 425.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.2589, allocations: 453.8 kB / 425.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.259, allocations: 108.8 kB / 426 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.259, allocations: 0 / 426 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.2593, allocations: 31.97 kB / 426 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.2594, allocations: 20.03 kB / 426 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2594, allocations: 4 kB / 426 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.2595, allocations: 190 kB / 426.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2596, allocations: 0 / 426.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.2599, allocations: 67.84 kB / 426.3 MB, free: 500 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0001256/0.26, allocations: 99.23 kB / 426.4 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009493/0.261, allocations: 414.3 kB / 426.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.261, allocations: 0 / 426.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.2614, allocations: 218.6 kB / 427 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.2618, allocations: 48.47 kB / 427 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.2653, allocations: 0.8936 MB / 427.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2655, allocations: 0.7519 MB / 428.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.2656, allocations: 23.38 kB / 428.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2656, allocations: 0 / 428.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of Templates: time 0.006119/0.2718, allocations: 4.566 MB / 433.3 MB, free: 9.398 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