Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 113.7 kB / 17.07 MB, free: 5.965 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.00221/0.00221, allocations: 193.3 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 55.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2489, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005068/0.2541, allocations: 3.697 MB / 403.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.2565, allocations: 1.425 MB / 405.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.2567, allocations: 8 kB / 405.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.2586, allocations: 0.7506 MB / 406.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.2598, allocations: 0.5307 MB / 406.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008576/0.2607, allocations: 437.8 kB / 407.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.2612, allocations: 466 kB / 407.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007366/0.262, allocations: 460.9 kB / 408 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.2623, allocations: 219.2 kB / 408.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.2627, allocations: 274.9 kB / 408.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.2628, allocations: 44 kB / 408.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.2632, allocations: 211.8 kB / 408.7 MB, free: 312 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.2633, allocations: 107.6 kB / 408.8 MB, free: 204 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.2635, allocations: 235 kB / 409.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008629/0.2644, allocations: 0.6888 MB / 409.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2644, allocations: 4 kB / 409.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2644, allocations: 3.938 kB / 409.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.2645, allocations: 4 kB / 409.8 MB, free: 15.26 MB / 334.1 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.002181/0.2666, allocations: 0.92 MB / 410.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2667, allocations: 12.03 kB / 410.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.2669, allocations: 99.94 kB / 410.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/0.2703, allocations: 0.4884 MB / 411.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.2708, allocations: 315.6 kB / 411.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.2709, allocations: 41.69 kB / 411.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/0.271, allocations: 52.38 kB / 411.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.272, allocations: 0.5336 MB / 412.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.272, allocations: 0 / 412.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.2721, allocations: 20 kB / 412.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.2721, allocations: 16 kB / 412.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2732, allocations: 0.579 MB / 412.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002996/0.2762, allocations: 1.879 MB / 414.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.2786, allocations: 2.174 MB / 416.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/0.2792, allocations: 268.7 kB / 417.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.2793, allocations: 89.53 kB / 417.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.2793, allocations: 39 kB / 417.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 3.196e-06/0.2793, allocations: 3.938 kB / 417.3 MB, free: 7.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001849/0.2812, allocations: 0.735 MB / 418 MB, free: 6.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.2813, allocations: 63.78 kB / 418.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.2815, allocations: 186.3 kB / 418.2 MB, free: 6.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2815, allocations: 29.7 kB / 418.3 MB, free: 6.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2817, allocations: 236.9 kB / 418.5 MB, free: 5.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.2818, allocations: 158.6 kB / 418.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.282, allocations: 90.19 kB / 418.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2822, allocations: 338.8 kB / 419.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.2825, allocations: 149.1 kB / 419.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.2829, allocations: 238.6 kB / 419.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.2836, allocations: 416.9 kB / 419.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2836, allocations: 0 / 419.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001096/0.2847, allocations: 0.5436 MB / 420.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2848, allocations: 8 kB / 420.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.2848, allocations: 0 / 420.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.2852, allocations: 80.8 kB / 420.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.2856, allocations: 91.89 kB / 420.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.2876, allocations: 1.781 MB / 422.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.2879, allocations: 47.67 kB / 422.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.2879, allocations: 16 kB / 422.4 MB, free: 1.68 MB / 334.1 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 (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.0002227/0.2881, allocations: 165.8 kB / 422.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.2882, allocations: 23.86 kB / 422.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.2894, allocations: 0.5396 MB / 423.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.2894, allocations: 15.94 kB / 423.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2894, allocations: 3.938 kB / 423.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.2894, allocations: 7.984 kB / 423.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.2913, allocations: 1.148 MB / 424.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2913, allocations: 0 / 424.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.2916, allocations: 79.91 kB / 424.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.2919, allocations: 80.7 kB / 424.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.292, allocations: 12 kB / 424.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.294, allocations: 1.763 MB / 426.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.294, allocations: 7.922 kB / 426.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.2954, allocations: 0.8029 MB / 427.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.2955, allocations: 116.9 kB / 427.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.2956, allocations: 4 kB / 427.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.2958, allocations: 20 kB / 427.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.351e-05/0.2959, allocations: 40.31 kB / 427.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.296, allocations: 12 kB / 427.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.2961, allocations: 144.3 kB / 427.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2961, allocations: 0 / 427.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.2966, allocations: 151.7 kB / 427.6 MB, free: 12.29 MB / 350.1 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 (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 Backend phase and start with SimCode phase: time 0.001883/0.2985, allocations: 1.383 MB / 428.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.2997, allocations: 0.5659 MB / 429.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2997, allocations: 0 / 429.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006145/0.3003, allocations: 377 kB / 429.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3007, allocations: 40.61 kB / 429.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/0.3058, allocations: 3.453 MB / 433.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.3063, allocations: 0.8084 MB / 434.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.3065, allocations: 46.95 kB / 434.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.3067, allocations: 139.4 kB / 434.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3067, allocations: 0 / 434.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/0.3553, allocations: 7.574 MB / 441.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.91, allocations: 8.062 kB / 441.9 MB, free: 13.84 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches