Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 192.7 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.5 MB / 244.7 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007382/0.0007382, allocations: 98.11 kB / 296.7 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003046, allocations: 8 kB / 356.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2238, allocations: 51.29 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003361/0.2272, allocations: 3.154 MB / 411.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.2298, allocations: 1.354 MB / 412.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.2302, allocations: 12 kB / 412.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.2306, allocations: 128.2 kB / 412.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009214/0.2316, allocations: 314 kB / 413.1 MB, free: 22.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008439/0.2324, allocations: 454.8 kB / 413.5 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004831/0.2329, allocations: 422.1 kB / 413.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.2341, allocations: 0.7638 MB / 414.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.2345, allocations: 175.3 kB / 414.9 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.2347, allocations: 223.1 kB / 415.1 MB, free: 20.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.2348, allocations: 20 kB / 415.1 MB, free: 20.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.2352, allocations: 187.8 kB / 415.3 MB, free: 20.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.2352, allocations: 75.67 kB / 415.4 MB, free: 20.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.2354, allocations: 228.6 kB / 415.6 MB, free: 20.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.2359, allocations: 0.5232 MB / 416.1 MB, free: 19.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2359, allocations: 0 / 416.1 MB, free: 19.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2359, allocations: 0 / 416.1 MB, free: 19.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.2359, allocations: 4 kB / 416.1 MB, free: 19.65 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001812/0.2377, allocations: 0.8217 MB / 416.9 MB, free: 18.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2378, allocations: 8.031 kB / 417 MB, free: 18.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.2379, allocations: 103.9 kB / 417.1 MB, free: 18.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.2411, allocations: 0.4921 MB / 417.5 MB, free: 18.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.2414, allocations: 311.6 kB / 417.8 MB, free: 17.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.2415, allocations: 37.69 kB / 417.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.08e-05/0.2416, allocations: 52.38 kB / 417.9 MB, free: 17.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008725/0.2424, allocations: 0.5336 MB / 418.5 MB, free: 17.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.2425, allocations: 4 kB / 418.5 MB, free: 17.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.2425, allocations: 20 kB / 418.5 MB, free: 17.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2425, allocations: 15.94 kB / 418.5 MB, free: 17.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.2435, allocations: 0.5829 MB / 419.1 MB, free: 16.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.2461, allocations: 1.973 MB / 421.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.2476, allocations: 2.17 MB / 423.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.248, allocations: 262 kB / 423.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.2481, allocations: 178.6 kB / 423.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2481, allocations: 35 kB / 423.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/0.2481, allocations: 4 kB / 423.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001581/0.2497, allocations: 0.7544 MB / 424.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.2498, allocations: 55.84 kB / 424.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.2499, allocations: 179.5 kB / 424.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.2499, allocations: 41.64 kB / 424.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.25, allocations: 228.3 kB / 425 MB, free: 10.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.196e-05/0.2501, allocations: 157.8 kB / 425.1 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.2501, allocations: 8 kB / 425.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.2502, allocations: 338.8 kB / 425.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.2505, allocations: 157 kB / 425.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.2508, allocations: 246.5 kB / 425.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005505/0.2513, allocations: 420.9 kB / 426.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.2513, allocations: 0 / 426.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008843/0.2522, allocations: 0.5473 MB / 426.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2523, allocations: 6.656 kB / 426.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2523, allocations: 4 kB / 426.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003206/0.2526, allocations: 80.81 kB / 426.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.253, allocations: 103.8 kB / 427 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.2542, allocations: 1.628 MB / 428.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.2545, allocations: 59.45 kB / 428.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.2546, allocations: 20 kB / 428.7 MB, free: 6.141 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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.0001641/0.2547, allocations: 173.8 kB / 428.9 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.2548, allocations: 27.62 kB / 428.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/0.2557, allocations: 0.5396 MB / 429.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2557, allocations: 8 kB / 429.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2557, allocations: 0 / 429.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2558, allocations: 4 kB / 429.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.2572, allocations: 1.161 MB / 430.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2572, allocations: 0 / 430.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.2575, allocations: 79.91 kB / 430.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/0.2578, allocations: 92.78 kB / 430.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.2578, allocations: 8 kB / 430.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.259, allocations: 1.64 MB / 432.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.259, allocations: 7.875 kB / 432.4 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.2601, allocations: 0.8179 MB / 433.2 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.2602, allocations: 104.7 kB / 433.3 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.2602, allocations: 12 kB / 433.4 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.2605, allocations: 19.98 kB / 433.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.2606, allocations: 36.39 kB / 433.4 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.2606, allocations: 12 kB / 433.4 MB, free: 1.148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.331e-05/0.2607, allocations: 144.3 kB / 433.6 MB, free: 1.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2607, allocations: 0 / 433.6 MB, free: 1.008 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004522/0.2611, allocations: 147.5 kB / 433.7 MB, free: 0.8633 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 (44): * Single equations (assignments): 43 * 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.001571/0.2627, allocations: 1.394 MB / 435.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.2638, allocations: 0.5776 MB / 435.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2638, allocations: 0.5625 kB / 435.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.2644, allocations: 381 kB / 436.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.2648, allocations: 32 kB / 436.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.2681, allocations: 2.187 MB / 438.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.2685, allocations: 0.8123 MB / 439.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.2687, allocations: 143.4 kB / 439.2 MB, free: 11.17 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2687, allocations: 0 / 439.2 MB, free: 11.17 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.012/3.281, allocations: 7.407 MB / 446.6 MB, free: 3.758 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches