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.001151/0.001151, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2455, allocations: 50.54 MB / 408.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004854/0.2504, allocations: 3.693 MB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.2526, allocations: 1.487 MB / 413.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2527, allocations: 12 kB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.2544, allocations: 0.7503 MB / 414.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007799/0.2552, allocations: 386 kB / 415.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000956/0.2561, allocations: 0.5515 MB / 415.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004658/0.2566, allocations: 454 kB / 416.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005608/0.2572, allocations: 395.5 kB / 416.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.2575, allocations: 215.2 kB / 416.7 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.2578, allocations: 266.9 kB / 416.9 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.2578, allocations: 40 kB / 417 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.2582, allocations: 215.8 kB / 417.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.2583, allocations: 107.6 kB / 417.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.2584, allocations: 234.8 kB / 417.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.2591, allocations: 0.6775 MB / 418.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2591, allocations: 0 / 418.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2592, allocations: 4 kB / 418.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.2592, allocations: 3.938 kB / 418.2 MB, free: 8.102 MB / 334.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.00199/0.2612, allocations: 0.9092 MB / 419.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2612, allocations: 8.031 kB / 419.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.2613, allocations: 100 kB / 419.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/0.2649, allocations: 499.8 kB / 419.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.2653, allocations: 299.7 kB / 420 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.2653, allocations: 45.69 kB / 420 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.863e-05/0.2654, allocations: 48.38 kB / 420.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008848/0.2663, allocations: 0.5218 MB / 420.6 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.2663, allocations: 3.906 kB / 420.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.2664, allocations: 20 kB / 420.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.2664, allocations: 12 kB / 420.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009774/0.2674, allocations: 0.5751 MB / 421.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.2702, allocations: 1.944 MB / 423.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.2722, allocations: 2.18 MB / 425.3 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.2726, allocations: 214.1 kB / 425.5 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.2728, allocations: 182.6 kB / 425.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2728, allocations: 35 kB / 425.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.644e-06/0.2728, allocations: 0 / 425.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001939/0.2747, allocations: 0.7855 MB / 426.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2748, allocations: 59.84 kB / 426.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.275, allocations: 194.1 kB / 426.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.275, allocations: 37.7 kB / 426.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2751, allocations: 216.5 kB / 427 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.2752, allocations: 153.7 kB / 427.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.2754, allocations: 98.14 kB / 427.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2755, allocations: 330.8 kB / 427.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.2758, allocations: 149.1 kB / 427.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.2762, allocations: 220.8 kB / 428 MB, free: 13.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006411/0.2768, allocations: 407.4 kB / 428.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.2768, allocations: 4 kB / 428.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009796/0.2778, allocations: 0.5317 MB / 428.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2778, allocations: 4 kB / 428.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2778, allocations: 7.984 kB / 428.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.2782, allocations: 92.73 kB / 429 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.2786, allocations: 91.83 kB / 429.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.2806, allocations: 2.041 MB / 431.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.2808, allocations: 43.59 kB / 431.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.2809, allocations: 23.92 kB / 431.2 MB, free: 10.14 MB / 350.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.0001789/0.2811, allocations: 173.6 kB / 431.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.2811, allocations: 27.78 kB / 431.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.2822, allocations: 0.5396 MB / 431.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2822, allocations: 4 kB / 431.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2822, allocations: 4 kB / 431.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2822, allocations: 7.922 kB / 432 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.2838, allocations: 1.135 MB / 433.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2838, allocations: 0 / 433.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.2842, allocations: 71.91 kB / 433.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002757/0.2845, allocations: 84.8 kB / 433.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.2845, allocations: 16 kB / 433.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.2863, allocations: 2.029 MB / 435.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2863, allocations: 8.016 kB / 435.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.2876, allocations: 0.8008 MB / 436.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.2877, allocations: 104.7 kB / 436.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.2877, allocations: 16 kB / 436.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.288, allocations: 15.98 kB / 436.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.2881, allocations: 36.45 kB / 436.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.2881, allocations: 16 kB / 436.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2882, allocations: 136.2 kB / 436.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2882, allocations: 0 / 436.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005577/0.2888, allocations: 151.5 kB / 436.6 MB, free: 4.52 MB / 350.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.001611/0.2904, allocations: 1.372 MB / 437.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009847/0.2914, allocations: 0.5659 MB / 438.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2914, allocations: 0 / 438.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.292, allocations: 381 kB / 438.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.2923, allocations: 24.44 kB / 438.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.2968, allocations: 3.401 MB / 442.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.2972, allocations: 0.8086 MB / 443.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.2974, allocations: 46.95 kB / 443.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.2976, allocations: 143.3 kB / 443.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2976, allocations: 0 / 443.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.327, allocations: 7.784 MB / 451.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.43, allocations: 5.969 kB / 451.1 MB, free: 5.965 MB / 366.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