Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 113.4 kB / 18.41 MB, free: 4.555 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.001101/0.001101, allocations: 187.3 kB / 19.34 MB, free: 3.629 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.287/1.287, 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.001247/0.001247, allocations: 55.91 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07212/0.07337, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004858/0.07826, allocations: 3.745 MB / 379.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1524/0.2307, allocations: 1.457 MB / 381 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.2311, allocations: 8.25 kB / 381 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.2329, allocations: 0.7531 MB / 381.8 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.2342, allocations: 0.5692 MB / 382.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.235, allocations: 419.7 kB / 382.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006078/0.2356, allocations: 0.4954 MB / 383.3 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.2365, allocations: 465.2 kB / 383.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.2369, allocations: 233.3 kB / 383.9 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.2373, allocations: 285 kB / 384.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.2374, allocations: 45.53 kB / 384.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.2379, allocations: 211.4 kB / 384.5 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.238, allocations: 122.6 kB / 384.6 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.2382, allocations: 250.9 kB / 384.8 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008824/0.2391, allocations: 0.718 MB / 385.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2391, allocations: 0 / 385.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2391, allocations: 0 / 385.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.2391, allocations: 1.062 kB / 385.6 MB, free: 8.828 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002192/0.2413, allocations: 0.9584 MB / 386.5 MB, free: 8.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2414, allocations: 8.469 kB / 386.5 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.2458, allocations: 0.5862 MB / 387.1 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.2463, allocations: 324.5 kB / 387.4 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.2463, allocations: 41.91 kB / 387.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2465, allocations: 57.92 kB / 387.5 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.2475, allocations: 0.5693 MB / 388.1 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.2475, allocations: 2.344 kB / 388.1 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.2476, allocations: 24.19 kB / 388.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.2476, allocations: 13.38 kB / 388.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.2487, allocations: 0.6442 MB / 388.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.2517, allocations: 2.056 MB / 390.8 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.2536, allocations: 3.003 MB / 393.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.2541, allocations: 273.4 kB / 394.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.142e-05/0.2541, allocations: 92.22 kB / 394.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.2542, allocations: 41.97 kB / 394.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.2542, allocations: 0 / 394.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.00165/0.2558, allocations: 0.7474 MB / 395 MB, free: 2.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.2559, allocations: 61.44 kB / 395 MB, free: 2.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.256, allocations: 205.8 kB / 395.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.2561, allocations: 34.83 kB / 395.3 MB, free: 1.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.2562, allocations: 247.2 kB / 395.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/0.2563, allocations: 179.6 kB / 395.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2564, allocations: 94.3 kB / 395.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.2565, allocations: 342.2 kB / 396.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.2568, allocations: 162 kB / 396.3 MB, free: 1.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.2571, allocations: 282.3 kB / 396.6 MB, free: 1.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.2578, allocations: 482.5 kB / 397 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2578, allocations: 1.219 kB / 397 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00101/0.2588, allocations: 0.5884 MB / 397.6 MB, free: 444 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2588, allocations: 7.406 kB / 397.6 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2589, allocations: 4.219 kB / 397.6 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.2592, allocations: 82.3 kB / 397.7 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.2596, allocations: 112.4 kB / 397.8 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.2613, allocations: 1.776 MB / 399.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.2617, allocations: 55.28 kB / 399.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.2617, allocations: 24.61 kB / 399.7 MB, free: 14.77 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.2619, allocations: 176.4 kB / 399.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.262, allocations: 29.81 kB / 399.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.2631, allocations: 0.5542 MB / 400.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.2631, allocations: 7.078 kB / 400.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2631, allocations: 0 / 400.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.2632, allocations: 117.5 kB / 400.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.2633, allocations: 7.844 kB / 400.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.2635, allocations: 18.11 kB / 400.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.2636, allocations: 36.91 kB / 400.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001108/0.2647, allocations: 0.5449 MB / 401.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001066/0.2658, allocations: 0.7509 MB / 401.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002873/0.2661, allocations: 166.1 kB / 402.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.2662, allocations: 146.8 kB / 402.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.2662, allocations: 0 / 402.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.2675, allocations: 0.6088 MB / 402.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of SimCode: time 0.00129/0.2688, allocations: 1.226 MB / 404 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Templates: time 0.0112/0.2801, allocations: 6.331 MB / 410.4 MB, free: 9.641 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches