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.00141/0.00141, allocations: 113.4 kB / 17.73 MB, free: 5.34 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.001591/0.001591, allocations: 184.2 kB / 18.66 MB, free: 4.418 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.336/1.336, 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.001218/0.001218, allocations: 51.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08459/0.08582, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004846/0.0907, allocations: 3.746 MB / 378.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1809/0.2716, allocations: 1.451 MB / 379.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.272, allocations: 10.44 kB / 379.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.2736, allocations: 0.7632 MB / 380.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.2747, allocations: 0.5625 MB / 381.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.2754, allocations: 426.4 kB / 381.6 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.2759, allocations: 496.5 kB / 382.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007012/0.2766, allocations: 471 kB / 382.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.2769, allocations: 234.6 kB / 382.8 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.2772, allocations: 288.1 kB / 383 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.816e-05/0.2773, allocations: 46.28 kB / 383.1 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.2777, allocations: 208.3 kB / 383.3 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.2777, allocations: 119.9 kB / 383.4 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.2779, allocations: 251.7 kB / 383.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.2787, allocations: 0.7166 MB / 384.4 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2787, allocations: 0 / 384.4 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2787, allocations: 0 / 384.4 MB, free: 8.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.2787, allocations: 0 / 384.4 MB, free: 8.602 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.001969/0.2807, allocations: 0.9497 MB / 385.3 MB, free: 8.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2808, allocations: 14.06 kB / 385.3 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.2809, allocations: 105.7 kB / 385.4 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004249/0.2852, allocations: 0.5795 MB / 386 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.2857, allocations: 322.1 kB / 386.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.2858, allocations: 41.19 kB / 386.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2859, allocations: 59.09 kB / 386.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.2871, allocations: 0.5766 MB / 387 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.2871, allocations: 1.188 kB / 387 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.2872, allocations: 24.88 kB / 387 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.2872, allocations: 13.88 kB / 387 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2883, allocations: 0.645 MB / 387.7 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.2913, allocations: 2.047 MB / 389.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.2932, allocations: 3.003 MB / 392.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/0.2937, allocations: 281.5 kB / 393 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-05/0.2938, allocations: 89.08 kB / 393.1 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2938, allocations: 41.53 kB / 393.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.575e-06/0.2938, allocations: 0 / 393.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001727/0.2956, allocations: 0.7553 MB / 393.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.2956, allocations: 62.89 kB / 394 MB, free: 1.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.2958, allocations: 196.4 kB / 394.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2958, allocations: 36.22 kB / 394.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2959, allocations: 250.3 kB / 394.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.212e-05/0.296, allocations: 167.9 kB / 394.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.2962, allocations: 92.33 kB / 394.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.2963, allocations: 338 kB / 395 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.2966, allocations: 163.1 kB / 395.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.2969, allocations: 277.7 kB / 395.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006469/0.2976, allocations: 480 kB / 395.9 MB, free: 472 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2976, allocations: 1.25 kB / 395.9 MB, free: 472 kB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001057/0.2986, allocations: 0.5871 MB / 396.5 MB, free: 204 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2987, allocations: 7.25 kB / 396.5 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.2987, allocations: 5.172 kB / 396.5 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.2991, allocations: 81.95 kB / 396.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.2995, allocations: 113.1 kB / 396.7 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.3015, allocations: 1.779 MB / 398.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.3019, allocations: 51.53 kB / 398.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.302, allocations: 21.72 kB / 398.6 MB, free: 14.53 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.0002919/0.3023, allocations: 179.7 kB / 398.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.3024, allocations: 29.36 kB / 398.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.3035, allocations: 0.55 MB / 399.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3035, allocations: 5.344 kB / 399.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3035, allocations: 2.656 kB / 399.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3036, allocations: 2.531 kB / 399.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.3054, allocations: 1.169 MB / 400.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3054, allocations: 1.688 kB / 400.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.3058, allocations: 81.31 kB / 400.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000307/0.3061, allocations: 87.06 kB / 400.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.3061, allocations: 9.516 kB / 400.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.3078, allocations: 1.776 MB / 402.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.3078, allocations: 0 / 402.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.3092, allocations: 0.8223 MB / 403.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.3093, allocations: 116.1 kB / 403.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.3094, allocations: 7.453 kB / 403.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.3096, allocations: 24.92 kB / 403.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.3097, allocations: 43.45 kB / 403.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.3098, allocations: 14.42 kB / 403.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.3099, allocations: 146.2 kB / 403.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3099, allocations: 0 / 403.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006522/0.3106, allocations: 160.7 kB / 403.8 MB, free: 11.05 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.001774/0.3123, allocations: 1.392 MB / 405.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.3135, allocations: 0.5957 MB / 405.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3135, allocations: 1.125 kB / 405.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.3142, allocations: 393.6 kB / 406.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.3146, allocations: 35.95 kB / 406.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/0.3198, allocations: 3.664 MB / 409.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3202, allocations: 0.8178 MB / 410.7 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.3204, allocations: 55.77 kB / 410.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.3207, allocations: 145.5 kB / 410.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3207, allocations: 0 / 410.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.3502, allocations: 8.032 MB / 418.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.35, allocations: 23.8 kB / 418.9 MB, free: 1.277 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