Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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.001029/0.001029, allocations: 111.2 kB / 18.4 MB, free: 4.691 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.0009982/0.0009983, allocations: 188.2 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 47.94 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07209/0.0733, allocations: 46.62 MB / 375.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003439/0.07677, allocations: 2.601 MB / 378.5 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.07786, allocations: 0.7096 MB / 379.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.07798, allocations: 4 kB / 379.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.07813, allocations: 43.58 kB / 379.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.0783, allocations: 79.33 kB / 379.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.07856, allocations: 99.81 kB / 379.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.07892, allocations: 326.5 kB / 379.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.07909, allocations: 84.69 kB / 379.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.07929, allocations: 127.5 kB / 379.9 MB, free: 476 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.07946, allocations: 147.4 kB / 380.1 MB, free: 328 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.07952, allocations: 24 kB / 380.1 MB, free: 304 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-05/0.07957, allocations: 28 kB / 380.1 MB, free: 276 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.07965, allocations: 67.7 kB / 380.2 MB, free: 208 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.07978, allocations: 131.4 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1461/0.2259, allocations: 296.9 kB / 380.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.226, allocations: 1.453 kB / 380.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.226, allocations: 3.188 kB / 380.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.226, allocations: 0 / 380.6 MB, free: 10.4 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001247/0.2273, allocations: 0.62 MB / 381.2 MB, free: 9.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2273, allocations: 7.375 kB / 381.2 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.2274, allocations: 27.27 kB / 381.3 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.2278, allocations: 277.5 kB / 381.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.2278, allocations: 16.12 kB / 381.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.2278, allocations: 18.75 kB / 381.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.2284, allocations: 233 kB / 381.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2285, allocations: 4.75 kB / 381.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.2285, allocations: 12.02 kB / 381.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2285, allocations: 5.281 kB / 381.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007448/0.2293, allocations: 245.2 kB / 382.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.2306, allocations: 0.8114 MB / 382.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008001/0.2314, allocations: 231.4 kB / 383.1 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.2317, allocations: 102.8 kB / 383.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.2317, allocations: 1.891 kB / 383.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.2321, allocations: 158.1 kB / 383.3 MB, free: 9.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2321, allocations: 0 / 383.3 MB, free: 9.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.00209/0.2342, allocations: 0.5366 MB / 383.9 MB, free: 9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.2343, allocations: 83.34 kB / 384 MB, free: 8.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.2346, allocations: 241.4 kB / 384.2 MB, free: 8.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2346, allocations: 30.23 kB / 384.2 MB, free: 8.766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.2347, allocations: 164.1 kB / 384.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.2347, allocations: 48.72 kB / 384.4 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.2348, allocations: 43.86 kB / 384.5 MB, free: 8.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.2349, allocations: 328.3 kB / 384.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.2352, allocations: 98.92 kB / 384.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.2355, allocations: 143.9 kB / 385 MB, free: 8.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.2361, allocations: 255.8 kB / 385.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2361, allocations: 0 / 385.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009805/0.2371, allocations: 383 kB / 385.7 MB, free: 8.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.2371, allocations: 33.91 kB / 385.7 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2372, allocations: 1.219 kB / 385.7 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/0.2376, allocations: 97 kB / 385.8 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.2378, allocations: 47.16 kB / 385.8 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.2393, allocations: 1.565 MB / 387.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.2395, allocations: 42.12 kB / 387.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.2396, allocations: 7.516 kB / 387.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002983/0.2399, allocations: 178.3 kB / 387.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002639/0.2402, allocations: 139.5 kB / 387.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004538/0.2406, allocations: 220.4 kB / 388 MB, free: 6.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.2406, allocations: 7.938 kB / 388 MB, free: 6.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000665/0.2413, allocations: 311 kB / 388.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2413, allocations: 37.03 kB / 388.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2413, allocations: 5.906 kB / 388.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.946e-05/0.2414, allocations: 25.11 kB / 388.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.2416, allocations: 47.64 kB / 388.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006276/0.2423, allocations: 1.546 MB / 389.9 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.2425, allocations: 39.3 kB / 390 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.2425, allocations: 5.656 kB / 390 MB, free: 4.727 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 7.682e-05/0.2426, allocations: 204.6 kB / 390.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.2427, allocations: 19.64 kB / 390.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.2427, allocations: 22.84 kB / 390.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2427, allocations: 2.016 kB / 390.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2427, allocations: 0.5156 kB / 390.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.2428, allocations: 95.44 kB / 390.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.2428, allocations: 11.34 kB / 390.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.243, allocations: 27.69 kB / 390.4 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.2431, allocations: 18.91 kB / 390.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001013/0.2442, allocations: 383.3 kB / 390.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008783/0.245, allocations: 487.2 kB / 391.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000287/0.2453, allocations: 91.34 kB / 391.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.2455, allocations: 176.6 kB / 391.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Backend: time 4.81e-07/0.2455, allocations: 4 kB / 391.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.2467, allocations: 0.6455 MB / 392.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008059/0.2475, allocations: 0.9491 MB / 393.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of Templates: time 0.007863/0.2553, allocations: 4.304 MB / 397.4 MB, free: 2.203 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches