Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009952/0.0009995, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 59.39 kB / 307.1 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08562/0.08673, allocations: 50.52 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005073/0.09184, allocations: 3.703 MB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.09447, allocations: 1.487 MB / 362.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004252/0.09492, allocations: 8 kB / 362.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.09679, allocations: 0.7545 MB / 363.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.09784, allocations: 381.6 kB / 363.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.0989, allocations: 0.56 MB / 364.5 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005193/0.09943, allocations: 458.1 kB / 364.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007045/0.1001, allocations: 466.2 kB / 365.4 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.1005, allocations: 223.2 kB / 365.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.1009, allocations: 270.9 kB / 365.8 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.699e-05/0.101, allocations: 48 kB / 365.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005987/0.1016, allocations: 219.8 kB / 366.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1017, allocations: 103.7 kB / 366.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.102, allocations: 234.8 kB / 366.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.1031, allocations: 0.697 MB / 367.1 MB, free: 4.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1031, allocations: 3.938 kB / 367.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1031, allocations: 0 / 367.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.1031, allocations: 0 / 367.1 MB, free: 4.391 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.002812/0.106, allocations: 0.9131 MB / 368.1 MB, free: 3.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.106, allocations: 12.03 kB / 368.1 MB, free: 3.418 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.1062, allocations: 100 kB / 368.2 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.1097, allocations: 499.9 kB / 368.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.1101, allocations: 315.5 kB / 369 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.1101, allocations: 41.69 kB / 369 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.1102, allocations: 52.38 kB / 369.1 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009171/0.1111, allocations: 0.5374 MB / 369.6 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1112, allocations: 0 / 369.6 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.1112, allocations: 20 kB / 369.6 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.1112, allocations: 12 kB / 369.6 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009951/0.1122, allocations: 0.579 MB / 370.2 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1623/0.2746, allocations: 1.962 MB / 372.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.2771, allocations: 2.169 MB / 374.3 MB, free: 17.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.2778, allocations: 267.5 kB / 374.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.2779, allocations: 170.2 kB / 374.8 MB, free: 16.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.278, allocations: 37.34 kB / 374.8 MB, free: 16.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.677e-06/0.278, allocations: 0 / 374.8 MB, free: 16.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002687/0.2807, allocations: 0.7441 MB / 375.5 MB, free: 16.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2807, allocations: 56.91 kB / 375.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.281, allocations: 189 kB / 375.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.2811, allocations: 35.45 kB / 375.8 MB, free: 16.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.2812, allocations: 222.6 kB / 376 MB, free: 16.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.2814, allocations: 162.3 kB / 376.2 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.2816, allocations: 83.88 kB / 376.3 MB, free: 16.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.2817, allocations: 335.7 kB / 376.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.2822, allocations: 152.8 kB / 376.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.2828, allocations: 244.2 kB / 377 MB, free: 15.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009708/0.2838, allocations: 412.2 kB / 377.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.2838, allocations: 0 / 377.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001577/0.2854, allocations: 0.5438 MB / 377.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.2854, allocations: 11.47 kB / 377.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2854, allocations: 1.375 kB / 377.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/0.2859, allocations: 82.31 kB / 378 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.2865, allocations: 94.52 kB / 378.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.2886, allocations: 1.78 MB / 379.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.289, allocations: 45.14 kB / 379.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.2891, allocations: 20.12 kB / 380 MB, free: 13.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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.0002489/0.2894, allocations: 177.4 kB / 380.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.2895, allocations: 28.09 kB / 380.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.2911, allocations: 0.54 MB / 380.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.2911, allocations: 5.094 kB / 380.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2911, allocations: 1.875 kB / 380.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2912, allocations: 2.719 kB / 380.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.2936, allocations: 1.153 MB / 381.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.2936, allocations: 2.234 kB / 381.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/0.2942, allocations: 78.11 kB / 381.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000394/0.2946, allocations: 84 kB / 382 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.2946, allocations: 11.59 kB / 382 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.2966, allocations: 1.771 MB / 383.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2967, allocations: 1.938 kB / 383.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.298, allocations: 0.7923 MB / 384.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.298, allocations: 111 kB / 384.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.2981, allocations: 13.05 kB / 384.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.2983, allocations: 23.61 kB / 384.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.2984, allocations: 35.02 kB / 384.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.2984, allocations: 14.19 kB / 384.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.695e-05/0.2985, allocations: 139.8 kB / 384.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2986, allocations: 0 / 384.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005066/0.2991, allocations: 151.3 kB / 385.1 MB, free: 9.996 MB / 302.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 (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,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.001446/0.3005, allocations: 1.376 MB / 386.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3016, allocations: 0.5914 MB / 387 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3016, allocations: 0 / 387 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.3021, allocations: 384.2 kB / 387.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3025, allocations: 36.34 kB / 387.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.3066, allocations: 3.441 MB / 390.9 MB, free: 6.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3069, allocations: 0.808 MB / 391.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000201/0.3071, allocations: 50.45 kB / 391.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3073, allocations: 134.4 kB / 391.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3073, allocations: 0 / 391.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1887/0.496, allocations: 7.511 MB / 399.4 MB, free: 2.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/14.83, allocations: 7.859 kB / 399.4 MB, free: 2.973 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches