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.001774/0.001774, allocations: 113.1 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.001854/0.001854, allocations: 188.2 kB / 18.67 MB, free: 4.402 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.419/1.419, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001659/0.001659, allocations: 51.94 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1188, allocations: 46.63 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005658/0.1245, allocations: 3.746 MB / 378.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1777/0.3023, allocations: 1.453 MB / 379.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.3028, allocations: 10.53 kB / 379.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.3046, allocations: 0.7625 MB / 380.6 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.306, allocations: 0.5593 MB / 381.2 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008202/0.3068, allocations: 420.8 kB / 381.6 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.3074, allocations: 494.6 kB / 382.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000651/0.3081, allocations: 390.3 kB / 382.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003997/0.3085, allocations: 218.9 kB / 382.7 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.3089, allocations: 288.4 kB / 382.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.309, allocations: 42.69 kB / 383 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000487/0.3095, allocations: 206 kB / 383.2 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.3096, allocations: 111.6 kB / 383.3 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.3099, allocations: 250 kB / 383.5 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009039/0.3108, allocations: 0.7031 MB / 384.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3108, allocations: 1.562 kB / 384.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3108, allocations: 0 / 384.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.3109, allocations: 0.75 kB / 384.3 MB, free: 8.598 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.002175/0.313, allocations: 0.9434 MB / 385.2 MB, free: 8.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3131, allocations: 14.09 kB / 385.2 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.3132, allocations: 100.4 kB / 385.3 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004205/0.3174, allocations: 0.5964 MB / 385.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.3179, allocations: 314 kB / 386.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.3179, allocations: 40.19 kB / 386.2 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.564e-05/0.318, allocations: 63.39 kB / 386.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009923/0.319, allocations: 0.5591 MB / 386.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.3191, allocations: 0.9375 kB / 386.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.465e-05/0.3191, allocations: 26.81 kB / 386.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.3191, allocations: 14.34 kB / 386.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.3202, allocations: 0.6405 MB / 387.6 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.3229, allocations: 2.043 MB / 389.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.3249, allocations: 3.017 MB / 392.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.3253, allocations: 222.9 kB / 392.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.625e-05/0.3254, allocations: 87.72 kB / 392.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.3254, allocations: 37.34 kB / 393 MB, free: 2.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.104e-06/0.3254, allocations: 0 / 393 MB, free: 2.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001785/0.3272, allocations: 0.8049 MB / 393.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.3272, allocations: 56.12 kB / 393.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3274, allocations: 200.8 kB / 394 MB, free: 1.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.3274, allocations: 32.14 kB / 394 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/0.3275, allocations: 254.1 kB / 394.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.3276, allocations: 175.9 kB / 394.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.3278, allocations: 97.97 kB / 394.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.3278, allocations: 333.1 kB / 394.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.3281, allocations: 159.3 kB / 395 MB, free: 1.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.3285, allocations: 273.2 kB / 395.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.3291, allocations: 469.9 kB / 395.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3291, allocations: 0 / 395.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009903/0.3301, allocations: 0.5793 MB / 396.3 MB, free: 276 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3302, allocations: 11.03 kB / 396.4 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3302, allocations: 3.344 kB / 396.4 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/0.3305, allocations: 95.02 kB / 396.4 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.3309, allocations: 104.5 kB / 396.5 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.3332, allocations: 2.044 MB / 398.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.3335, allocations: 54.92 kB / 398.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.3336, allocations: 26.27 kB / 398.7 MB, free: 14.38 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.0002272/0.3338, allocations: 175.5 kB / 398.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.3339, allocations: 26.12 kB / 398.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.335, allocations: 0.5547 MB / 399.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3351, allocations: 5.094 kB / 399.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3351, allocations: 6.672 kB / 399.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.3351, allocations: 2.719 kB / 399.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.3369, allocations: 1.147 MB / 400.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3369, allocations: 0 / 400.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.3373, allocations: 79.55 kB / 400.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.3375, allocations: 89.88 kB / 400.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.3376, allocations: 15.25 kB / 400.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.3397, allocations: 2.036 MB / 402.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3397, allocations: 0 / 402.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.3411, allocations: 0.8051 MB / 403.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.775e-05/0.3412, allocations: 110.5 kB / 403.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.3413, allocations: 12.38 kB / 403.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.3415, allocations: 23.73 kB / 403.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.3416, allocations: 34.73 kB / 403.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.3416, allocations: 18.88 kB / 403.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.3418, allocations: 145 kB / 403.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3418, allocations: 3.938 kB / 403.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006065/0.3424, allocations: 153.6 kB / 404.1 MB, free: 10.72 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.001866/0.3443, allocations: 1.381 MB / 405.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.3454, allocations: 0.5939 MB / 406.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.3454, allocations: 0 / 406.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006079/0.3461, allocations: 390 kB / 406.5 MB, free: 9.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3464, allocations: 48.84 kB / 406.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.3516, allocations: 3.64 MB / 410.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.3521, allocations: 0.8144 MB / 411 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.3523, allocations: 52.91 kB / 411 MB, free: 6.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.3525, allocations: 147.7 kB / 411.1 MB, free: 5.984 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3526, allocations: 1.188 kB / 411.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.3896, allocations: 7.898 MB / 419 MB, free: 1.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.72, allocations: 15.81 kB / 419.1 MB, free: 1.156 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