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.00146/0.00146, allocations: 118.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 67.81 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.247, allocations: 50.55 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005247/0.2523, allocations: 3.693 MB / 412.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.255, allocations: 1.483 MB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.2554, allocations: 8 kB / 413.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.2573, allocations: 0.7542 MB / 414.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.2583, allocations: 393.9 kB / 415.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.2594, allocations: 0.5522 MB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005851/0.26, allocations: 462 kB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007401/0.2608, allocations: 475.4 kB / 416.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.2612, allocations: 215.2 kB / 416.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.2616, allocations: 282.9 kB / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.066e-05/0.2616, allocations: 44 kB / 417.1 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.2621, allocations: 211.9 kB / 417.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.673e-05/0.2622, allocations: 107.6 kB / 417.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.2624, allocations: 238.8 kB / 417.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008103/0.2632, allocations: 0.7009 MB / 418.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2632, allocations: 4 kB / 418.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2632, allocations: 0 / 418.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.2633, allocations: 0 / 418.3 MB, free: 7.949 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.002138/0.2654, allocations: 0.917 MB / 419.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2654, allocations: 8.031 kB / 419.3 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.2656, allocations: 100 kB / 419.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/0.269, allocations: 499.9 kB / 419.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.2695, allocations: 299.7 kB / 420.1 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.2695, allocations: 41.69 kB / 420.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-05/0.2696, allocations: 52.38 kB / 420.2 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009711/0.2706, allocations: 0.5335 MB / 420.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.2706, allocations: 11.91 kB / 420.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.2707, allocations: 20 kB / 420.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.2707, allocations: 15.94 kB / 420.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009786/0.2717, allocations: 0.579 MB / 421.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.2745, allocations: 1.954 MB / 423.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.2767, allocations: 2.174 MB / 425.5 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.2772, allocations: 262.1 kB / 425.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.2774, allocations: 174.5 kB / 425.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.2774, allocations: 35 kB / 426 MB, free: 15.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.934e-06/0.2775, allocations: 4 kB / 426 MB, free: 15.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00169/0.2792, allocations: 0.7426 MB / 426.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.2792, allocations: 55.84 kB / 426.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.2795, allocations: 194.3 kB / 427 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.2795, allocations: 29.7 kB / 427 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.2797, allocations: 216.4 kB / 427.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.2799, allocations: 165.6 kB / 427.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.28, allocations: 86.19 kB / 427.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2801, allocations: 334.8 kB / 427.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.2804, allocations: 157 kB / 427.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.2808, allocations: 242.5 kB / 428.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.2815, allocations: 408.9 kB / 428.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2815, allocations: 4 kB / 428.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009626/0.2825, allocations: 0.5318 MB / 429.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2825, allocations: 12 kB / 429.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2825, allocations: 0 / 429.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.2829, allocations: 84.8 kB / 429.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.2832, allocations: 95.83 kB / 429.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.2849, allocations: 1.779 MB / 431.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.2852, allocations: 55.45 kB / 431.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.2853, allocations: 12 kB / 431.1 MB, free: 10.19 MB / 350.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.0002056/0.2855, allocations: 168.7 kB / 431.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.2855, allocations: 31.62 kB / 431.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.2866, allocations: 0.5395 MB / 431.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2866, allocations: 4 kB / 431.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2866, allocations: 15.92 kB / 431.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.2866, allocations: 3.984 kB / 431.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.2883, allocations: 1.14 MB / 433 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2883, allocations: 0 / 433 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.2887, allocations: 79.89 kB / 433.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.2889, allocations: 76.81 kB / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.289, allocations: 11.98 kB / 433.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.2905, allocations: 1.774 MB / 435 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2905, allocations: 3.938 kB / 435 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.2918, allocations: 0.7951 MB / 435.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.2919, allocations: 108.7 kB / 435.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.2919, allocations: 8 kB / 435.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.2922, allocations: 19.98 kB / 435.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/0.2923, allocations: 40.33 kB / 435.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.2923, allocations: 16 kB / 436 MB, free: 5.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2924, allocations: 144.2 kB / 436.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2924, allocations: 0 / 436.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.2929, allocations: 147.6 kB / 436.2 MB, free: 4.809 MB / 350.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.001633/0.2946, allocations: 1.379 MB / 437.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.2956, allocations: 0.5738 MB / 438.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2956, allocations: 3.938 kB / 438.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.2962, allocations: 381 kB / 438.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.2966, allocations: 36.48 kB / 438.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.3017, allocations: 3.432 MB / 442 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.3021, allocations: 0.8084 MB / 442.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.3024, allocations: 46.95 kB / 442.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.3026, allocations: 135.4 kB / 443 MB, free: 13.78 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3026, allocations: 0 / 443 MB, free: 13.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.052/2.355, allocations: 7.77 MB / 450.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/15.4, allocations: 3.859 kB / 450.8 MB, free: 6.188 MB / 366.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