Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 106.1 kB / 17.74 MB, free: 5.348 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.001623/0.001624, allocations: 186.4 kB / 18.67 MB, free: 4.43 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.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009551/0.0009551, allocations: 55.91 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.229, allocations: 49.43 MB / 401.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003632/0.2327, allocations: 2.87 MB / 404.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2338, allocations: 0.7128 MB / 405 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2339, allocations: 11.94 kB / 405 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.234, allocations: 47.56 kB / 405.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.2342, allocations: 95.19 kB / 405.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.2345, allocations: 115.8 kB / 405.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.2349, allocations: 390.5 kB / 405.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.2351, allocations: 127.2 kB / 405.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.2353, allocations: 151.4 kB / 405.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2355, allocations: 167.3 kB / 406.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.2356, allocations: 40 kB / 406.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.2356, allocations: 36 kB / 406.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.2357, allocations: 75.7 kB / 406.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.2359, allocations: 167.2 kB / 406.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.2363, allocations: 423.8 kB / 406.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2363, allocations: 11.92 kB / 406.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2363, allocations: 0 / 406.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.2363, allocations: 4 kB / 406.8 MB, free: 3.59 MB / 318.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.001223/0.2375, allocations: 0.6487 MB / 407.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2376, allocations: 15.89 kB / 407.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/0.2377, allocations: 36.55 kB / 407.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.238, allocations: 288.6 kB / 407.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.238, allocations: 20.94 kB / 407.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.2381, allocations: 24.38 kB / 407.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006796/0.2388, allocations: 316 kB / 408.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2388, allocations: 0 / 408.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.2388, allocations: 15.98 kB / 408.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2388, allocations: 4 kB / 408.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007948/0.2396, allocations: 278 kB / 408.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.2416, allocations: 1.169 MB / 409.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008784/0.2425, allocations: 238.6 kB / 409.9 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.2428, allocations: 104.8 kB / 410 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2428, allocations: 4 kB / 410 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.2433, allocations: 180.9 kB / 410.2 MB, free: 64 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.2433, allocations: 0 / 410.2 MB, free: 64 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002067/0.2454, allocations: 0.5775 MB / 410.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.2454, allocations: 81.05 kB / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.2457, allocations: 282.3 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2457, allocations: 25.7 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.2459, allocations: 191.6 kB / 411.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.2459, allocations: 51.39 kB / 411.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.246, allocations: 45.7 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2461, allocations: 326.8 kB / 411.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.2465, allocations: 104.1 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.2469, allocations: 188.2 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.2476, allocations: 307.7 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2476, allocations: 0 / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001195/0.2488, allocations: 451.1 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.2489, allocations: 33.7 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2489, allocations: 3.938 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/0.2492, allocations: 64.81 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.2495, allocations: 63.92 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.2517, allocations: 1.64 MB / 414.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.252, allocations: 47.7 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.252, allocations: 16 kB / 414.6 MB, free: 11.29 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.0001409/0.2522, allocations: 149.7 kB / 414.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.2522, allocations: 19.81 kB / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.2523, allocations: 25.7 kB / 414.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2523, allocations: 4 kB / 414.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2523, allocations: 0 / 414.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.2524, allocations: 100.8 kB / 414.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.2524, allocations: 3.938 kB / 414.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.2527, allocations: 35.97 kB / 414.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.2527, allocations: 19.97 kB / 415 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001297/0.254, allocations: 425.4 kB / 415.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001055/0.2551, allocations: 0.4944 MB / 415.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000323/0.2554, allocations: 99.95 kB / 416 MB, free: 9.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.2556, allocations: 197.9 kB / 416.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of Backend: time 3.7e-07/0.2556, allocations: 0 / 416.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000898/0.2565, allocations: 404.8 kB / 416.6 MB, free: 9.25 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009813/0.2575, allocations: 0.9729 MB / 417.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of Templates: time 0.007017/0.2646, allocations: 3.814 MB / 421.3 MB, free: 4.445 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches