Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) 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 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.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_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_Modelica_Electrical_QuasiStationary_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.001312/0.001312, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001277/0.001277, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 51.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.00561/0.1095, allocations: 3.753 MB / 378.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1731/0.2826, allocations: 1.454 MB / 379.9 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.2832, allocations: 8.938 kB / 379.9 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.2848, allocations: 0.7528 MB / 380.6 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.286, allocations: 0.5616 MB / 381.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.2867, allocations: 429.6 kB / 381.6 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.2872, allocations: 497.3 kB / 382.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007373/0.288, allocations: 466.7 kB / 382.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004139/0.2884, allocations: 235 kB / 382.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.2888, allocations: 286.9 kB / 383 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.965e-05/0.2889, allocations: 45.66 kB / 383.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.2894, allocations: 210.5 kB / 383.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/0.2895, allocations: 116 kB / 383.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.2897, allocations: 258.5 kB / 383.7 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008052/0.2905, allocations: 0.7164 MB / 384.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2905, allocations: 4.188 kB / 384.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2905, allocations: 0 / 384.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.2905, allocations: 0 / 384.4 MB, free: 8.59 MB / 318.1 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.002013/0.2926, allocations: 0.9645 MB / 385.3 MB, free: 8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2926, allocations: 9.531 kB / 385.4 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.2928, allocations: 100.7 kB / 385.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/0.2969, allocations: 0.5865 MB / 386 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.2974, allocations: 320.5 kB / 386.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.2975, allocations: 41.19 kB / 386.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.459e-05/0.2976, allocations: 62.17 kB / 386.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2987, allocations: 0.577 MB / 387 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.2987, allocations: 1.125 kB / 387 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.2988, allocations: 21.19 kB / 387.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.2988, allocations: 14.09 kB / 387.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.3, allocations: 0.6494 MB / 387.7 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.3032, allocations: 2.058 MB / 389.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.3052, allocations: 3.004 MB / 392.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.3057, allocations: 282.2 kB / 393.1 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.703e-05/0.3058, allocations: 92.08 kB / 393.1 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3058, allocations: 37.56 kB / 393.2 MB, free: 2.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.435e-06/0.3058, allocations: 1.25 kB / 393.2 MB, free: 2.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001803/0.3077, allocations: 0.7546 MB / 393.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.3077, allocations: 56.78 kB / 394 MB, free: 1.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.3079, allocations: 205.9 kB / 394.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.308, allocations: 36.02 kB / 394.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3081, allocations: 247 kB / 394.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/0.3082, allocations: 180.1 kB / 394.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3083, allocations: 94.12 kB / 394.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.3084, allocations: 337.5 kB / 395.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.3087, allocations: 163.3 kB / 395.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.3091, allocations: 282.1 kB / 395.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.3097, allocations: 478.7 kB / 396 MB, free: 436 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3097, allocations: 1.344 kB / 396 MB, free: 436 kB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001008/0.3107, allocations: 0.5841 MB / 396.6 MB, free: 172 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3107, allocations: 6.594 kB / 396.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3108, allocations: 4.5 kB / 396.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.3111, allocations: 82.77 kB / 396.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.3115, allocations: 113.1 kB / 396.8 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.3135, allocations: 1.78 MB / 398.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.3139, allocations: 53.97 kB / 398.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.3139, allocations: 31.23 kB / 398.6 MB, free: 14.49 MB / 334.1 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 (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.0002734/0.3142, allocations: 175.2 kB / 398.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.3143, allocations: 25.05 kB / 398.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.3155, allocations: 0.5545 MB / 399.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3155, allocations: 6.078 kB / 399.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3155, allocations: 1.781 kB / 399.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3155, allocations: 2.812 kB / 399.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.3174, allocations: 1.172 MB / 400.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3174, allocations: 5.25 kB / 400.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.3177, allocations: 81.84 kB / 400.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.318, allocations: 83.28 kB / 400.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.3181, allocations: 8.312 kB / 400.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.3199, allocations: 1.777 MB / 402.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3199, allocations: 0 / 402.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3213, allocations: 0.818 MB / 403.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3214, allocations: 120.5 kB / 403.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.3215, allocations: 7.656 kB / 403.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.3217, allocations: 25.03 kB / 403.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/0.3218, allocations: 37.77 kB / 403.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.3219, allocations: 16.36 kB / 403.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.322, allocations: 144.4 kB / 403.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.376e-06/0.322, allocations: 0 / 403.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000597/0.3226, allocations: 164.8 kB / 403.8 MB, free: 11 MB / 334.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 (46): * Single equations (assignments): 45 * 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.001868/0.3245, allocations: 1.393 MB / 405.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.3257, allocations: 0.5954 MB / 405.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3257, allocations: 0 / 405.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000626/0.3263, allocations: 390.3 kB / 406.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.3267, allocations: 36.78 kB / 406.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.332, allocations: 3.694 MB / 409.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.3325, allocations: 0.8146 MB / 410.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.3328, allocations: 55.5 kB / 410.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.333, allocations: 144.9 kB / 410.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.333, allocations: 0 / 410.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/0.3716, allocations: 7.897 MB / 418.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.78, allocations: 19.8 kB / 418.9 MB, free: 1.367 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches