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.001356/0.001356, allocations: 109.5 kB / 17.73 MB, free: 5.359 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.001453/0.001453, allocations: 188.1 kB / 18.66 MB, free: 4.438 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.307/1.307, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00131/0.00131, allocations: 52.14 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09908, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005877/0.105, allocations: 3.746 MB / 378.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.198/0.3031, allocations: 1.452 MB / 379.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007238/0.3039, allocations: 9.625 kB / 379.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.3061, allocations: 0.7589 MB / 380.6 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.3079, allocations: 0.5603 MB / 381.2 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.309, allocations: 423.2 kB / 381.6 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005697/0.3095, allocations: 488.6 kB / 382.1 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006683/0.3102, allocations: 393.8 kB / 382.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.3106, allocations: 219.5 kB / 382.7 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.311, allocations: 284.1 kB / 382.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/0.3111, allocations: 43.91 kB / 383 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006007/0.3117, allocations: 207.5 kB / 383.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3118, allocations: 118.5 kB / 383.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.3121, allocations: 240.7 kB / 383.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.3132, allocations: 0.7038 MB / 384.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3133, allocations: 0 / 384.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3133, allocations: 0 / 384.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.3133, allocations: 0 / 384.2 MB, free: 8.645 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.002118/0.3154, allocations: 0.9396 MB / 385.2 MB, free: 8.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3155, allocations: 8.938 kB / 385.2 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.3156, allocations: 105.2 kB / 385.3 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/0.3198, allocations: 0.5848 MB / 385.9 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.3203, allocations: 319.9 kB / 386.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.3203, allocations: 45.59 kB / 386.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.3204, allocations: 54.39 kB / 386.3 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.3214, allocations: 0.5592 MB / 386.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.3215, allocations: 0 / 386.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.3215, allocations: 29.48 kB / 386.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.3216, allocations: 14.56 kB / 386.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.3227, allocations: 0.6336 MB / 387.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.3257, allocations: 2.044 MB / 389.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.3277, allocations: 3.014 MB / 392.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.328, allocations: 223.7 kB / 392.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.147e-05/0.3281, allocations: 89.06 kB / 392.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3281, allocations: 37.41 kB / 392.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.034e-06/0.3281, allocations: 0 / 392.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001827/0.33, allocations: 0.7961 MB / 393.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.33, allocations: 56.44 kB / 393.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.3302, allocations: 201 kB / 394 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.3302, allocations: 43.33 kB / 394 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3304, allocations: 241.9 kB / 394.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3305, allocations: 167.6 kB / 394.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.3306, allocations: 97.72 kB / 394.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.3307, allocations: 342 kB / 394.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.331, allocations: 159.1 kB / 395 MB, free: 1.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.3314, allocations: 272.5 kB / 395.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.3321, allocations: 460.9 kB / 395.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3321, allocations: 1.094 kB / 395.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001034/0.3331, allocations: 0.5828 MB / 396.3 MB, free: 336 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3332, allocations: 11 kB / 396.3 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3332, allocations: 7.344 kB / 396.3 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.3336, allocations: 91.56 kB / 396.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.334, allocations: 107.4 kB / 396.5 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.3361, allocations: 2.038 MB / 398.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.3364, allocations: 54.41 kB / 398.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.3364, allocations: 22.09 kB / 398.6 MB, free: 14.44 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.0002072/0.3366, allocations: 175.9 kB / 398.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.3367, allocations: 29.22 kB / 398.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.3378, allocations: 0.5501 MB / 399.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3378, allocations: 5.469 kB / 399.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3378, allocations: 2.844 kB / 399.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.3378, allocations: 6.344 kB / 399.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.3395, allocations: 1.137 MB / 400.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3396, allocations: 2.203 kB / 400.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.3399, allocations: 78.44 kB / 400.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/0.3402, allocations: 90.84 kB / 400.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.3402, allocations: 13.66 kB / 400.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.3423, allocations: 2.045 MB / 402.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3424, allocations: 1.562 kB / 402.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.3438, allocations: 0.7965 MB / 403.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.3439, allocations: 115.7 kB / 403.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.344, allocations: 8.234 kB / 403.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.3442, allocations: 19.58 kB / 403.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.3443, allocations: 34.11 kB / 403.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.3444, allocations: 18.12 kB / 403.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.3445, allocations: 149.1 kB / 403.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3445, allocations: 1.375 kB / 403.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000754/0.3453, allocations: 156.9 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.001869/0.3472, allocations: 1.388 MB / 405.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.3486, allocations: 0.5862 MB / 406 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3486, allocations: 1.094 kB / 406 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007459/0.3493, allocations: 389 kB / 406.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3498, allocations: 39.95 kB / 406.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/0.3557, allocations: 3.628 MB / 410.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.3562, allocations: 0.8163 MB / 410.9 MB, free: 6.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000204/0.3564, allocations: 54.59 kB / 410.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.3566, allocations: 144.1 kB / 411.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3566, allocations: 0 / 411.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03326/0.3899, allocations: 8.031 MB / 419.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.885/10.28, allocations: 15.81 kB / 419.1 MB, free: 1.137 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