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.001478/0.001478, allocations: 108 kB / 17.33 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 213.7 kB / 18.27 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.5 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 63.64 kB / 306.6 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/0.08955, allocations: 50.54 MB / 357.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004835/0.09442, allocations: 3.714 MB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.09653, allocations: 1.472 MB / 362.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.09669, allocations: 15.88 kB / 362.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.09826, allocations: 0.7004 MB / 363 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000791/0.09907, allocations: 354.5 kB / 363.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000952/0.1, allocations: 0.5194 MB / 363.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.1005, allocations: 462 kB / 364.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006443/0.1012, allocations: 434.1 kB / 364.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.1015, allocations: 211.2 kB / 365 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.1018, allocations: 255 kB / 365.2 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.1018, allocations: 51.92 kB / 365.3 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.1022, allocations: 215.8 kB / 365.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.018e-05/0.1023, allocations: 103.6 kB / 365.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.1025, allocations: 234.9 kB / 365.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007599/0.1033, allocations: 0.6736 MB / 366.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1033, allocations: 4 kB / 366.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1033, allocations: 0 / 366.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1033, allocations: 0 / 366.5 MB, free: 4.855 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.002004/0.1053, allocations: 0.9053 MB / 367.4 MB, free: 3.902 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1053, allocations: 12.02 kB / 367.4 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.1055, allocations: 100 kB / 367.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003201/0.1087, allocations: 467.9 kB / 368 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.1091, allocations: 311.5 kB / 368.3 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.1091, allocations: 49.62 kB / 368.3 MB, free: 2.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.1092, allocations: 52.38 kB / 368.4 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009448/0.1102, allocations: 0.5179 MB / 368.9 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1102, allocations: 0 / 368.9 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.1102, allocations: 20 kB / 368.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1103, allocations: 16 kB / 368.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009931/0.1113, allocations: 0.5751 MB / 369.5 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1462/0.2575, allocations: 1.966 MB / 371.5 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.2601, allocations: 2.184 MB / 373.6 MB, free: 17.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/0.2607, allocations: 212.1 kB / 373.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.2609, allocations: 179.9 kB / 374 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.2609, allocations: 41.62 kB / 374.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.597e-06/0.2609, allocations: 0 / 374.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.003019/0.264, allocations: 0.7889 MB / 374.9 MB, free: 16.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.264, allocations: 62.53 kB / 374.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.2643, allocations: 187.2 kB / 375.1 MB, free: 16.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.2644, allocations: 35.73 kB / 375.1 MB, free: 16.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.2645, allocations: 224 kB / 375.4 MB, free: 16.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.2647, allocations: 160 kB / 375.5 MB, free: 16.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.2649, allocations: 84.36 kB / 375.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.265, allocations: 334.9 kB / 375.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.2655, allocations: 149.3 kB / 376.1 MB, free: 16.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.2661, allocations: 234.1 kB / 376.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.2673, allocations: 404.1 kB / 376.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2673, allocations: 1.375 kB / 376.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001693/0.269, allocations: 0.5433 MB / 377.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.269, allocations: 6.281 kB / 377.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2691, allocations: 1.438 kB / 377.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005763/0.2697, allocations: 88.53 kB / 377.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.2704, allocations: 91.36 kB / 377.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.2732, allocations: 2.043 MB / 379.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.2736, allocations: 46.67 kB / 379.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.2737, allocations: 19.08 kB / 379.5 MB, free: 13.62 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.0002639/0.274, allocations: 165.5 kB / 379.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.2741, allocations: 32.53 kB / 379.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.2761, allocations: 0.5436 MB / 380.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.2761, allocations: 4.688 kB / 380.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.2761, allocations: 1.906 kB / 380.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.2762, allocations: 8.594 kB / 380.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.279, allocations: 1.134 MB / 381.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.279, allocations: 0 / 381.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006458/0.2797, allocations: 76.88 kB / 381.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.2802, allocations: 88.62 kB / 381.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.2803, allocations: 16.61 kB / 381.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.2829, allocations: 2.033 MB / 383.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.283, allocations: 288 / 383.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.2851, allocations: 0.7978 MB / 384.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.2852, allocations: 110.7 kB / 384.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.2853, allocations: 14.78 kB / 384.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.2857, allocations: 19.06 kB / 384.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.2859, allocations: 38.55 kB / 384.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.2859, allocations: 18.27 kB / 384.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.2861, allocations: 132.8 kB / 384.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2861, allocations: 0 / 384.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001043/0.2872, allocations: 148.4 kB / 384.9 MB, free: 10.03 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.002587/0.2898, allocations: 1.377 MB / 386.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.2917, allocations: 0.585 MB / 386.9 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2918, allocations: 0 / 386.9 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009275/0.2927, allocations: 391.6 kB / 387.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.2934, allocations: 35.92 kB / 387.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007246/0.3006, allocations: 3.591 MB / 390.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.301, allocations: 0.81 MB / 391.7 MB, free: 5.434 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004015/0.3014, allocations: 51.66 kB / 391.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.3017, allocations: 140.3 kB / 391.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3017, allocations: 0 / 391.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4687/0.7704, allocations: 7.296 MB / 399.2 MB, free: 3.086 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/0.7708, allocations: 248.6 kB / 399.4 MB, free: 2.832 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/3.655, allocations: 0 / 399.4 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.1.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