Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001642, allocations: 174.9 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007395/0.0007395, allocations: 101 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2031, allocations: 47.58 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.00302/0.2062, allocations: 3.189 MB / 378.3 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.2084, allocations: 1.34 MB / 379.6 MB, free: 41.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.2086, allocations: 12.75 kB / 379.6 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.209, allocations: 131.5 kB / 379.8 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009598/0.21, allocations: 469.7 kB / 380.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.2106, allocations: 339.2 kB / 380.6 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.211, allocations: 447 kB / 381 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.2121, allocations: 0.7572 MB / 381.8 MB, free: 40.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.2124, allocations: 188.1 kB / 381.9 MB, free: 40.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.2127, allocations: 243.2 kB / 382.2 MB, free: 40.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.2127, allocations: 21.12 kB / 382.2 MB, free: 40.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.2131, allocations: 181.7 kB / 382.4 MB, free: 40.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.2132, allocations: 78.89 kB / 382.5 MB, free: 39.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.2134, allocations: 239 kB / 382.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.2138, allocations: 0.5338 MB / 383.2 MB, free: 39.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2139, allocations: 0 / 383.2 MB, free: 39.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2139, allocations: 0 / 383.2 MB, free: 39.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2139, allocations: 1.469 kB / 383.2 MB, free: 39.38 MB / 298.7 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.001697/0.2156, allocations: 0.8348 MB / 384.1 MB, free: 38.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2156, allocations: 9.031 kB / 384.1 MB, free: 38.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/0.2196, allocations: 0.5975 MB / 384.7 MB, free: 38.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.22, allocations: 317.8 kB / 385 MB, free: 38.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.22, allocations: 40.5 kB / 385 MB, free: 38.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.2201, allocations: 57 kB / 385.1 MB, free: 38.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009632/0.2211, allocations: 0.5714 MB / 385.6 MB, free: 37.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.2211, allocations: 1.531 kB / 385.6 MB, free: 37.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.2212, allocations: 28 kB / 385.7 MB, free: 37.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.2212, allocations: 17.78 kB / 385.7 MB, free: 37.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.2223, allocations: 0.6498 MB / 386.3 MB, free: 37.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.2248, allocations: 2.059 MB / 388.4 MB, free: 35.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.2266, allocations: 3.004 MB / 391.4 MB, free: 31.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.227, allocations: 272.3 kB / 391.7 MB, free: 31.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.2271, allocations: 89.53 kB / 391.8 MB, free: 31.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.2271, allocations: 39 kB / 391.8 MB, free: 31.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.765e-06/0.2272, allocations: 4 kB / 391.8 MB, free: 31.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001759/0.2289, allocations: 0.7621 MB / 392.6 MB, free: 30.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.229, allocations: 63.72 kB / 392.6 MB, free: 30.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2291, allocations: 201 kB / 392.8 MB, free: 30.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.2292, allocations: 37.7 kB / 392.9 MB, free: 30.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.2293, allocations: 248 kB / 393.1 MB, free: 29.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.2294, allocations: 165.6 kB / 393.3 MB, free: 29.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.2294, allocations: 12 kB / 393.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.2295, allocations: 334.8 kB / 393.6 MB, free: 29.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.2298, allocations: 161 kB / 393.8 MB, free: 29.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.2302, allocations: 287.7 kB / 394 MB, free: 28.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.2308, allocations: 486.2 kB / 394.5 MB, free: 28.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2308, allocations: 0 / 394.5 MB, free: 28.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008673/0.2316, allocations: 0.5939 MB / 395.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2317, allocations: 8 kB / 395.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2317, allocations: 4.344 kB / 395.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.232, allocations: 92.73 kB / 395.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.2324, allocations: 111.8 kB / 395.3 MB, free: 27.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.2336, allocations: 1.648 MB / 397 MB, free: 25.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.2339, allocations: 59.58 kB / 397 MB, free: 25.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.2339, allocations: 20 kB / 397 MB, free: 25.61 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.2341, allocations: 173.7 kB / 397.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.2342, allocations: 27.62 kB / 397.2 MB, free: 25.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/0.2351, allocations: 0.5629 MB / 397.8 MB, free: 24.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2351, allocations: 7.938 kB / 397.8 MB, free: 24.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2351, allocations: 4 kB / 397.8 MB, free: 24.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2351, allocations: 3.984 kB / 397.8 MB, free: 24.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.2365, allocations: 1.181 MB / 399 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2365, allocations: 4.062 kB / 399 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.2368, allocations: 79.89 kB / 399.1 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.237, allocations: 80.8 kB / 399.2 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.2371, allocations: 11.98 kB / 399.2 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.2382, allocations: 1.636 MB / 400.8 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2382, allocations: 8 kB / 400.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.2393, allocations: 0.8257 MB / 401.6 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.2393, allocations: 112.8 kB / 401.7 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2394, allocations: 8 kB / 401.8 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.2396, allocations: 28.05 kB / 401.8 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.2397, allocations: 36.33 kB / 401.8 MB, free: 20.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.2397, allocations: 16 kB / 401.8 MB, free: 20.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.757e-05/0.2398, allocations: 148.1 kB / 402 MB, free: 20.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2398, allocations: 0 / 402 MB, free: 20.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000479/0.2403, allocations: 155.5 kB / 402.1 MB, free: 20.26 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001807/0.2405, allocations: 147.1 kB / 402.3 MB, free: 20.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008843/0.2414, allocations: 0.6009 MB / 402.9 MB, free: 19.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2414, allocations: 0.9375 kB / 402.9 MB, free: 19.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.2418, allocations: 396.9 kB / 403.3 MB, free: 19.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.2422, allocations: 31.98 kB / 403.3 MB, free: 19.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.2434, allocations: 1.108 MB / 404.4 MB, free: 17.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.2436, allocations: 0.8175 MB / 405.2 MB, free: 17.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.2437, allocations: 43.42 kB / 405.3 MB, free: 17.02 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2437, allocations: 0 / 405.3 MB, free: 17.02 MB / 298.7 MB Notification: Performance of Templates: time 0.006269/0.25, allocations: 6.58 MB / 411.8 MB, free: 10.44 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches