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.0009634/0.0009634, allocations: 180.3 kB / 16.41 MB, free: 5.707 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.341/1.341, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.000749/0.0007489, allocations: 91.81 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.000275, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 47.56 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.002756/0.2035, allocations: 3.172 MB / 377.7 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.2051, allocations: 1.344 MB / 379.1 MB, free: 41.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.2053, allocations: 10.12 kB / 379.1 MB, free: 41.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.2057, allocations: 130.6 kB / 379.2 MB, free: 41.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008917/0.2066, allocations: 469.1 kB / 379.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.2072, allocations: 344.4 kB / 380 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.2076, allocations: 455.6 kB / 380.4 MB, free: 40.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.2086, allocations: 0.7043 MB / 381.1 MB, free: 40.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.2089, allocations: 181.4 kB / 381.3 MB, free: 40.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.2091, allocations: 243.4 kB / 381.6 MB, free: 40.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.2092, allocations: 21.28 kB / 381.6 MB, free: 40.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.2095, allocations: 174.9 kB / 381.8 MB, free: 40.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.2096, allocations: 87.39 kB / 381.8 MB, free: 39.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.2096, allocations: 104.1 kB / 381.9 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.2101, allocations: 0.5368 MB / 382.5 MB, free: 39.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2101, allocations: 0 / 382.5 MB, free: 39.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2101, allocations: 1.062 kB / 382.5 MB, free: 39.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2101, allocations: 3.938 kB / 382.5 MB, free: 39.49 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.001713/0.2118, allocations: 0.8366 MB / 383.3 MB, free: 38.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2119, allocations: 12.94 kB / 383.3 MB, free: 38.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/0.2159, allocations: 0.5963 MB / 383.9 MB, free: 38.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.2162, allocations: 315.9 kB / 384.2 MB, free: 38.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.2163, allocations: 44.33 kB / 384.3 MB, free: 38.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.892e-05/0.2164, allocations: 56.94 kB / 384.3 MB, free: 38.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009414/0.2173, allocations: 0.5596 MB / 384.9 MB, free: 37.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.2173, allocations: 5.094 kB / 384.9 MB, free: 37.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.2174, allocations: 25.16 kB / 384.9 MB, free: 37.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.2174, allocations: 21.56 kB / 384.9 MB, free: 37.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.2185, allocations: 0.6506 MB / 385.6 MB, free: 37.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.2211, allocations: 2.058 MB / 387.7 MB, free: 35.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.2228, allocations: 3 MB / 390.7 MB, free: 31.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.2232, allocations: 280.8 kB / 390.9 MB, free: 31.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.2233, allocations: 85.55 kB / 391 MB, free: 31.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.2233, allocations: 39 kB / 391.1 MB, free: 31.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.425e-06/0.2233, allocations: 0 / 391.1 MB, free: 31.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001493/0.2248, allocations: 0.7622 MB / 391.8 MB, free: 30.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.2248, allocations: 63.78 kB / 391.9 MB, free: 30.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.225, allocations: 205 kB / 392.1 MB, free: 30.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.225, allocations: 37.7 kB / 392.1 MB, free: 30.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.2251, allocations: 236.1 kB / 392.3 MB, free: 30.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/0.2252, allocations: 165.5 kB / 392.5 MB, free: 29.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.2252, allocations: 12 kB / 392.5 MB, free: 29.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.2253, allocations: 338.8 kB / 392.8 MB, free: 29.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.2255, allocations: 165 kB / 393 MB, free: 29.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.2258, allocations: 287.7 kB / 393.3 MB, free: 29.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.2262, allocations: 200.7 kB / 393.5 MB, free: 28.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2262, allocations: 0 / 393.5 MB, free: 28.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008907/0.2271, allocations: 0.5904 MB / 394.1 MB, free: 28.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2271, allocations: 8 kB / 394.1 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2271, allocations: 4 kB / 394.1 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/0.2274, allocations: 92.72 kB / 394.2 MB, free: 28.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.2278, allocations: 115.8 kB / 394.3 MB, free: 28.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.2291, allocations: 1.648 MB / 395.9 MB, free: 26.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.2294, allocations: 59.44 kB / 396 MB, free: 26.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.2295, allocations: 20 kB / 396 MB, free: 26.25 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.0001717/0.2296, allocations: 177.6 kB / 396.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.2297, allocations: 27.72 kB / 396.2 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00093/0.2306, allocations: 0.5629 MB / 396.8 MB, free: 25.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2307, allocations: 8 kB / 396.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2307, allocations: 0 / 396.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.2307, allocations: 3.984 kB / 396.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.2321, allocations: 1.181 MB / 398 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2321, allocations: 4 kB / 398 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.2325, allocations: 83.89 kB / 398.1 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/0.2327, allocations: 84.8 kB / 398.1 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.2328, allocations: 12 kB / 398.2 MB, free: 24.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.2339, allocations: 1.64 MB / 399.8 MB, free: 22.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2339, allocations: 3.984 kB / 399.8 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.235, allocations: 0.822 MB / 400.6 MB, free: 21.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.2351, allocations: 116.7 kB / 400.7 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.2352, allocations: 8 kB / 400.7 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.2354, allocations: 23.98 kB / 400.8 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.2355, allocations: 36.39 kB / 400.8 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2355, allocations: 15.98 kB / 400.8 MB, free: 21.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.2356, allocations: 156.1 kB / 401 MB, free: 21.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2356, allocations: 0 / 401 MB, free: 21.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005041/0.2361, allocations: 155.5 kB / 401.1 MB, free: 20.89 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.0001988/0.2363, allocations: 135.1 kB / 401.3 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009156/0.2373, allocations: 0.5936 MB / 401.8 MB, free: 20.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2373, allocations: 0 / 401.8 MB, free: 20.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.2378, allocations: 393.6 kB / 402.2 MB, free: 19.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.2381, allocations: 47.69 kB / 402.3 MB, free: 19.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.2394, allocations: 1.104 MB / 403.4 MB, free: 18.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.2397, allocations: 0.8136 MB / 404.2 MB, free: 17.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2398, allocations: 39.42 kB / 404.2 MB, free: 17.68 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2398, allocations: 0 / 404.2 MB, free: 17.68 MB / 298.7 MB Notification: Performance of Templates: time 0.008201/0.248, allocations: 6.61 MB / 410.8 MB, free: 11.07 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