Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00199/0.00199, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002401/0.002401, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 67.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2734, allocations: 50.54 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007247/0.2807, allocations: 5.623 MB / 414.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003834/0.2845, allocations: 1.88 MB / 416.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005257/0.2851, allocations: 16 kB / 416.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003711/0.2888, allocations: 1.618 MB / 418 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.2906, allocations: 0.5905 MB / 418.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.2917, allocations: 414.5 kB / 419 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.2929, allocations: 0.8017 MB / 419.8 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.2943, allocations: 0.8672 MB / 420.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.2949, allocations: 358.6 kB / 421 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/0.2954, allocations: 486.2 kB / 421.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2956, allocations: 76 kB / 421.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.2962, allocations: 251.8 kB / 421.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.2964, allocations: 187.3 kB / 421.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.2968, allocations: 422 kB / 422.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.2983, allocations: 1.183 MB / 423.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2983, allocations: 0 / 423.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2983, allocations: 0 / 423.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.2983, allocations: 0 / 423.5 MB, free: 2.68 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003451/0.3018, allocations: 1.372 MB / 424.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3018, allocations: 8.031 kB / 424.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.302, allocations: 148.3 kB / 425.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/0.3066, allocations: 0.6248 MB / 425.7 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.3073, allocations: 415.2 kB / 426.1 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/0.3074, allocations: 74.45 kB / 426.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.3076, allocations: 92.38 kB / 426.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.3093, allocations: 0.9977 MB / 427.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.3094, allocations: 4 kB / 427.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/0.3094, allocations: 40 kB / 427.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.3095, allocations: 24 kB / 427.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.3111, allocations: 0.9253 MB / 428.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005028/0.3162, allocations: 3.442 MB / 431.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.319, allocations: 2.241 MB / 433.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.3195, allocations: 296.1 kB / 434.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.3197, allocations: 182.7 kB / 434.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3198, allocations: 47.06 kB / 434.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 3.376e-06/0.3198, allocations: 4 kB / 434.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001455/0.3213, allocations: 0.7213 MB / 435.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.3213, allocations: 115.3 kB / 435.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.3217, allocations: 266.5 kB / 435.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.3217, allocations: 37.7 kB / 435.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.322, allocations: 399.9 kB / 436 MB, free: 5.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.3222, allocations: 238.2 kB / 436.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.3224, allocations: 138.6 kB / 436.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3226, allocations: 346.8 kB / 436.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.3231, allocations: 225.9 kB / 436.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.3237, allocations: 435.3 kB / 437.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.3248, allocations: 0.695 MB / 438 MB, free: 3.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3249, allocations: 0 / 438 MB, free: 3.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001401/0.3263, allocations: 0.7604 MB / 438.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.3263, allocations: 15.92 kB / 438.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3263, allocations: 4 kB / 438.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.3264, allocations: 12 kB / 438.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.3271, allocations: 187.7 kB / 439 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.3271, allocations: 8 kB / 439 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.3275, allocations: 87.67 kB / 439.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.3276, allocations: 39.98 kB / 439.1 MB, free: 2.109 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003521/0.328, allocations: 221.5 kB / 439.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.3281, allocations: 47.64 kB / 439.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3294, allocations: 0.6479 MB / 440 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3295, allocations: 4 kB / 440 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.3295, allocations: 7.984 kB / 440.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3295, allocations: 0 / 440.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.332, allocations: 1.481 MB / 441.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.332, allocations: 0 / 441.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.3326, allocations: 147.8 kB / 441.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.3326, allocations: 4 kB / 441.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.3326, allocations: 12 kB / 441.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.3327, allocations: 7.938 kB / 441.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3327, allocations: 0 / 441.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.3343, allocations: 1.131 MB / 442.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.3345, allocations: 116.8 kB / 442.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.3346, allocations: 12 kB / 443 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.3349, allocations: 31.92 kB / 443 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.335, allocations: 40.5 kB / 443 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.3351, allocations: 23.98 kB / 443.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.3353, allocations: 186 kB / 443.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3353, allocations: 0 / 443.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007688/0.3361, allocations: 231.3 kB / 443.5 MB, free: 13.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002196/0.3383, allocations: 1.718 MB / 445.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.3395, allocations: 0.6069 MB / 445.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.3395, allocations: 8.062 kB / 445.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.34, allocations: 311 kB / 446.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.3406, allocations: 42.95 kB / 446.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006947/0.3476, allocations: 4.847 MB / 451 MB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.3482, allocations: 0.8968 MB / 451.9 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.3485, allocations: 84.38 kB / 452 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.3489, allocations: 259.3 kB / 452.2 MB, free: 4.602 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3489, allocations: 0 / 452.2 MB, free: 4.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.3862, allocations: 9.483 MB / 461.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.579/8.965, allocations: 7.859 kB / 461.7 MB, free: 11.25 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches