Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",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.001129/0.001129, allocations: 106.5 kB / 17.73 MB, free: 5.336 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.001295/0.001295, allocations: 191 kB / 18.66 MB, free: 4.406 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.399/1.399, allocations: 205.1 MB / 224.5 MB, free: 12.28 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.001209/0.001209, allocations: 55.94 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08221/0.08343, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005141/0.08862, allocations: 3.746 MB / 378.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1729/0.2615, allocations: 1.455 MB / 379.8 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005942/0.2622, allocations: 10.03 kB / 379.8 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.2644, allocations: 0.7531 MB / 380.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.2661, allocations: 0.5682 MB / 381.2 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008413/0.2669, allocations: 417.9 kB / 381.6 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.2675, allocations: 495.6 kB / 382.1 MB, free: 9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006512/0.2682, allocations: 390.2 kB / 382.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.2686, allocations: 219.5 kB / 382.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.2689, allocations: 280 kB / 382.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.209e-05/0.269, allocations: 42.62 kB / 383 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.2695, allocations: 212.7 kB / 383.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.391e-05/0.2696, allocations: 115.8 kB / 383.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.2697, allocations: 254 kB / 383.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009046/0.2707, allocations: 0.6963 MB / 384.2 MB, free: 8.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2707, allocations: 1.375 kB / 384.2 MB, free: 8.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2707, allocations: 0 / 384.2 MB, free: 8.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2707, allocations: 0 / 384.2 MB, free: 8.641 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.002091/0.2728, allocations: 0.9317 MB / 385.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2728, allocations: 12.91 kB / 385.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.273, allocations: 105.9 kB / 385.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004142/0.2772, allocations: 0.5838 MB / 385.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.2777, allocations: 320.8 kB / 386.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.2777, allocations: 40.72 kB / 386.2 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/0.2778, allocations: 59.55 kB / 386.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.2789, allocations: 0.5622 MB / 386.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.2789, allocations: 5.75 kB / 386.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.279, allocations: 23.06 kB / 386.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.279, allocations: 14.44 kB / 386.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.2801, allocations: 0.6418 MB / 387.5 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.2831, allocations: 2.033 MB / 389.6 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.2852, allocations: 3.019 MB / 392.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.2856, allocations: 221.9 kB / 392.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.192e-05/0.2857, allocations: 90.22 kB / 392.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.2857, allocations: 43.31 kB / 392.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 3.076e-06/0.2857, allocations: 0 / 392.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001849/0.2876, allocations: 0.7939 MB / 393.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.2876, allocations: 61.06 kB / 393.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.2878, allocations: 201.8 kB / 394 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2878, allocations: 30.95 kB / 394 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.2879, allocations: 241.1 kB / 394.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/0.288, allocations: 175.1 kB / 394.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.2881, allocations: 93.09 kB / 394.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.2882, allocations: 334.5 kB / 394.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.2885, allocations: 164.3 kB / 395 MB, free: 1.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.2889, allocations: 269.4 kB / 395.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/0.2895, allocations: 463.5 kB / 395.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2895, allocations: 1.344 kB / 395.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001042/0.2906, allocations: 0.5793 MB / 396.3 MB, free: 352 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2906, allocations: 14.56 kB / 396.3 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.2906, allocations: 4.125 kB / 396.3 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.291, allocations: 94.41 kB / 396.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.2914, allocations: 108.3 kB / 396.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.2934, allocations: 2.04 MB / 398.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.2937, allocations: 50.95 kB / 398.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.2938, allocations: 26.92 kB / 398.6 MB, free: 14.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.294, allocations: 175.4 kB / 398.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.294, allocations: 29.47 kB / 398.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.2951, allocations: 0.552 MB / 399.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2951, allocations: 7.844 kB / 399.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2951, allocations: 3.281 kB / 399.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2952, allocations: 3.188 kB / 399.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.2969, allocations: 1.135 MB / 400.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2969, allocations: 4 kB / 400.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.2972, allocations: 84.25 kB / 400.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003139/0.2976, allocations: 82.89 kB / 400.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.2976, allocations: 16.91 kB / 400.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.2996, allocations: 2.042 MB / 402.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2997, allocations: 0.5625 kB / 402.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.3011, allocations: 0.8016 MB / 403.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3012, allocations: 107 kB / 403.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.3013, allocations: 10.83 kB / 403.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3015, allocations: 17.36 kB / 403.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3016, allocations: 41.75 kB / 403.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.3017, allocations: 15.78 kB / 403.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.3018, allocations: 144.6 kB / 403.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3018, allocations: 4 kB / 403.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006529/0.3025, allocations: 157.4 kB / 404 MB, free: 10.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001778/0.3043, allocations: 1.383 MB / 405.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.3054, allocations: 0.5935 MB / 406 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3055, allocations: 0 / 406 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006241/0.3061, allocations: 385.5 kB / 406.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3065, allocations: 40.89 kB / 406.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/0.3117, allocations: 3.625 MB / 410.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3121, allocations: 0.8155 MB / 410.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.3123, allocations: 54.45 kB / 410.9 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.3125, allocations: 149 kB / 411.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3125, allocations: 0 / 411.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.3453, allocations: 8.034 MB / 419.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.969/10.31, allocations: 19.88 kB / 419.1 MB, free: 1.121 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches