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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 179.4 kB / 16.72 MB, free: 4.961 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.278/1.278, 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.0007627/0.0007627, allocations: 82.44 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 12 kB / 327.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.221, allocations: 47.57 MB / 375.2 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.002959/0.224, allocations: 3.185 MB / 378.4 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.2261, allocations: 1.349 MB / 379.7 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.2263, allocations: 8.438 kB / 379.7 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.2267, allocations: 127.8 kB / 379.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.2278, allocations: 469.2 kB / 380.3 MB, free: 41.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.2284, allocations: 346.7 kB / 380.7 MB, free: 41.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.2288, allocations: 455.9 kB / 381.1 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.23, allocations: 0.7487 MB / 381.8 MB, free: 40.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.2303, allocations: 184.6 kB / 382 MB, free: 40.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.2306, allocations: 239.1 kB / 382.3 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.2306, allocations: 21.12 kB / 382.3 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.231, allocations: 181.4 kB / 382.5 MB, free: 39.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.2311, allocations: 83.78 kB / 382.5 MB, free: 39.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.2313, allocations: 235.1 kB / 382.8 MB, free: 39.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.2317, allocations: 0.5374 MB / 383.3 MB, free: 39.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2317, allocations: 0 / 383.3 MB, free: 39.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2317, allocations: 0 / 383.3 MB, free: 39.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2318, allocations: 3.938 kB / 383.3 MB, free: 39.33 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.001726/0.2335, allocations: 0.8279 MB / 384.1 MB, free: 38.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2335, allocations: 14.23 kB / 384.2 MB, free: 38.67 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.2337, allocations: 102.2 kB / 384.3 MB, free: 38.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003881/0.2376, allocations: 0.594 MB / 384.8 MB, free: 38.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.2381, allocations: 317 kB / 385.2 MB, free: 38.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.2381, allocations: 46 kB / 385.2 MB, free: 38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.2382, allocations: 68.58 kB / 385.3 MB, free: 37.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.2393, allocations: 0.5708 MB / 385.8 MB, free: 37.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.2394, allocations: 3.938 kB / 385.8 MB, free: 37.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-05/0.2394, allocations: 25.38 kB / 385.9 MB, free: 37.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.2394, allocations: 17.91 kB / 385.9 MB, free: 37.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.2405, allocations: 0.6587 MB / 386.5 MB, free: 37.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.2431, allocations: 2.067 MB / 388.6 MB, free: 34.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.2449, allocations: 2.996 MB / 391.6 MB, free: 31.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.2452, allocations: 276.1 kB / 391.9 MB, free: 31.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-05/0.2453, allocations: 89.53 kB / 392 MB, free: 31.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2454, allocations: 38.94 kB / 392 MB, free: 31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 3.065e-06/0.2454, allocations: 0 / 392 MB, free: 31 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001487/0.2469, allocations: 0.766 MB / 392.8 MB, free: 30.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.2469, allocations: 59.84 kB / 392.8 MB, free: 30.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.247, allocations: 205 kB / 393 MB, free: 29.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.2471, allocations: 29.7 kB / 393.1 MB, free: 29.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2472, allocations: 248 kB / 393.3 MB, free: 29.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.2473, allocations: 165.6 kB / 393.5 MB, free: 29.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.2473, allocations: 12 kB / 393.5 MB, free: 29.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.2474, allocations: 338.8 kB / 393.8 MB, free: 29.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.2476, allocations: 165 kB / 394 MB, free: 28.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.248, allocations: 299.5 kB / 394.3 MB, free: 28.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.2485, allocations: 478.2 kB / 394.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2485, allocations: 0 / 394.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008728/0.2494, allocations: 0.5942 MB / 395.3 MB, free: 27.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2495, allocations: 13.97 kB / 395.3 MB, free: 27.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2495, allocations: 4 kB / 395.3 MB, free: 27.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.2498, allocations: 80.75 kB / 395.4 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.2502, allocations: 119.8 kB / 395.5 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.2514, allocations: 1.648 MB / 397.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.2517, allocations: 55.52 kB / 397.2 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.2518, allocations: 20 kB / 397.3 MB, free: 25.44 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.0001724/0.252, allocations: 177.8 kB / 397.4 MB, free: 25.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.252, allocations: 31.56 kB / 397.5 MB, free: 25.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009321/0.253, allocations: 0.559 MB / 398 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.253, allocations: 4 kB / 398 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.253, allocations: 0 / 398 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.253, allocations: 8 kB / 398 MB, free: 24.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.2544, allocations: 1.177 MB / 399.2 MB, free: 23.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2544, allocations: 0 / 399.2 MB, free: 23.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.2547, allocations: 87.89 kB / 399.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.255, allocations: 80.81 kB / 399.4 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.255, allocations: 15.98 kB / 399.4 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.2562, allocations: 1.64 MB / 401 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2562, allocations: 0 / 401 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.2573, allocations: 0.8337 MB / 401.9 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.2574, allocations: 108.7 kB / 402 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.2574, allocations: 12 kB / 402 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2577, allocations: 23.98 kB / 402 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.2578, allocations: 36.33 kB / 402 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.2578, allocations: 19.94 kB / 402.1 MB, free: 20.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.23e-05/0.2579, allocations: 152.2 kB / 402.2 MB, free: 20.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2579, allocations: 0 / 402.2 MB, free: 20.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000503/0.2584, allocations: 151.5 kB / 402.4 MB, free: 20.07 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.001347/0.2598, allocations: 1.402 MB / 403.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000889/0.2607, allocations: 0.6057 MB / 404.4 MB, free: 18.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2607, allocations: 192 / 404.4 MB, free: 18.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.2611, allocations: 393 kB / 404.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2615, allocations: 47.22 kB / 404.8 MB, free: 17.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.2643, allocations: 2.333 MB / 407.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.2645, allocations: 0.825 MB / 407.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.2647, allocations: 147.3 kB / 408.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2647, allocations: 0 / 408.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.049/3.314, allocations: 7.782 MB / 415.9 MB, free: 6.355 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > 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/jenkins1/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