Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009988/0.0009989, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.33 kB / 307.1 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.09109, allocations: 50.54 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005018/0.09615, allocations: 3.695 MB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.0986, allocations: 1.483 MB / 362.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.09892, allocations: 12 kB / 362.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.1007, allocations: 0.7506 MB / 363.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009892/0.1017, allocations: 381.6 kB / 363.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1028, allocations: 0.5488 MB / 364.5 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.1034, allocations: 458 kB / 364.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006764/0.1041, allocations: 390.1 kB / 365.3 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003897/0.1045, allocations: 207.3 kB / 365.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.1049, allocations: 270.8 kB / 365.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.105, allocations: 40 kB / 365.8 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.1055, allocations: 223.8 kB / 366 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1057, allocations: 99.61 kB / 366.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.1059, allocations: 230.9 kB / 366.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008513/0.1068, allocations: 0.6814 MB / 367 MB, free: 4.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1068, allocations: 0 / 367 MB, free: 4.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1068, allocations: 0 / 367 MB, free: 4.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.1069, allocations: 0 / 367 MB, free: 4.57 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002161/0.109, allocations: 0.9053 MB / 367.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1091, allocations: 8.031 kB / 367.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.1092, allocations: 104 kB / 368 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003593/0.1128, allocations: 499.9 kB / 368.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.1133, allocations: 311.5 kB / 368.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.1133, allocations: 41.69 kB / 368.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.68e-05/0.1134, allocations: 52.38 kB / 368.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1144, allocations: 0.5179 MB / 369.4 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.1145, allocations: 4 kB / 369.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.1145, allocations: 27.98 kB / 369.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1146, allocations: 12 kB / 369.5 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1156, allocations: 0.5634 MB / 370 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.168/0.2836, allocations: 1.958 MB / 372 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.2856, allocations: 2.184 MB / 374.2 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/0.2861, allocations: 217.4 kB / 374.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.2862, allocations: 170.6 kB / 374.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2863, allocations: 38 kB / 374.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.2863, allocations: 0.625 kB / 374.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001951/0.2882, allocations: 0.7892 MB / 375.4 MB, free: 16.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.2883, allocations: 57.3 kB / 375.4 MB, free: 16.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.2884, allocations: 186.5 kB / 375.6 MB, free: 16.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.2885, allocations: 33.86 kB / 375.7 MB, free: 16.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2886, allocations: 224.5 kB / 375.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/0.2887, allocations: 160.2 kB / 376 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.2888, allocations: 83.81 kB / 376.1 MB, free: 16.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.2889, allocations: 332.5 kB / 376.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.2892, allocations: 152.5 kB / 376.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.2895, allocations: 228.7 kB / 376.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.2901, allocations: 401.2 kB / 377.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2902, allocations: 3.828 kB / 377.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009533/0.2911, allocations: 0.535 MB / 377.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2911, allocations: 8.766 kB / 377.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2912, allocations: 5.562 kB / 377.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/0.2915, allocations: 89.31 kB / 377.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.2919, allocations: 94.03 kB / 377.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.2934, allocations: 2.04 MB / 380 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.2937, allocations: 47.59 kB / 380 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.2938, allocations: 18.28 kB / 380 MB, free: 13.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0001687/0.2939, allocations: 169.2 kB / 380.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.294, allocations: 27.69 kB / 380.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.295, allocations: 0.548 MB / 380.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.295, allocations: 12.31 kB / 380.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.295, allocations: 4.906 kB / 380.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.2951, allocations: 2.719 kB / 380.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.2965, allocations: 1.126 MB / 381.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2966, allocations: 1.094 kB / 381.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.2969, allocations: 75.52 kB / 382 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.2971, allocations: 88.88 kB / 382.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.2972, allocations: 11.5 kB / 382.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.2986, allocations: 2.043 MB / 384.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2986, allocations: 0.5625 kB / 384.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.2998, allocations: 0.7938 MB / 384.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.2998, allocations: 106.4 kB / 385 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.2999, allocations: 12 kB / 385 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.3001, allocations: 15.67 kB / 385.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.3002, allocations: 37.06 kB / 385.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.3002, allocations: 14.61 kB / 385.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.237e-05/0.3003, allocations: 134.4 kB / 385.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3003, allocations: 8.5 kB / 385.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.3009, allocations: 155.9 kB / 385.4 MB, free: 9.75 MB / 302.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 (42): * Single equations (assignments): 41 * 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.001471/0.3024, allocations: 1.373 MB / 386.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3035, allocations: 0.5751 MB / 387.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3035, allocations: 448 / 387.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.3041, allocations: 393.4 kB / 387.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.3045, allocations: 33.41 kB / 387.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.3088, allocations: 3.398 MB / 391.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3091, allocations: 0.811 MB / 392 MB, free: 5.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.3093, allocations: 52.22 kB / 392 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3094, allocations: 133.6 kB / 392.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3094, allocations: 0 / 392.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/0.5399, allocations: 7.526 MB / 399.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/14.86, allocations: 16.05 kB / 399.7 MB, free: 2.832 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches