Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 204.6 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.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.88 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2782, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005719/0.284, allocations: 4.1 MB / 412.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.2861, allocations: 0.958 MB / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005183/0.2867, allocations: 12 kB / 413.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.2871, allocations: 91.08 kB / 414 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006939/0.2878, allocations: 178.4 kB / 414.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.2885, allocations: 167.7 kB / 414.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.2896, allocations: 0.6732 MB / 415 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/0.2901, allocations: 207 kB / 415.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.2908, allocations: 263 kB / 415.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005333/0.2913, allocations: 290.6 kB / 415.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.2915, allocations: 56 kB / 415.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.2917, allocations: 56 kB / 415.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.2918, allocations: 135.5 kB / 415.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.2922, allocations: 306.5 kB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.293, allocations: 0.6438 MB / 416.9 MB, free: 9.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.293, allocations: 0 / 416.9 MB, free: 9.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.293, allocations: 0 / 416.9 MB, free: 9.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.87e-05/0.293, allocations: 3.938 kB / 416.9 MB, free: 9.391 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001728/0.2948, allocations: 0.8689 MB / 417.8 MB, free: 8.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.2948, allocations: 12.03 kB / 417.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.295, allocations: 99.91 kB / 417.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.2954, allocations: 84.17 kB / 418 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.2961, allocations: 399.4 kB / 418.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.2962, allocations: 41.69 kB / 418.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/0.2962, allocations: 52.38 kB / 418.4 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/0.2971, allocations: 0.4918 MB / 418.9 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2971, allocations: 4 kB / 418.9 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.2972, allocations: 20 kB / 419 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.2972, allocations: 16 kB / 419 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000652/0.2979, allocations: 344.6 kB / 419.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.3007, allocations: 1.709 MB / 421 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.3012, allocations: 265.1 kB / 421.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.3015, allocations: 145.3 kB / 421.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3015, allocations: 4 kB / 421.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.3016, allocations: 38.5 kB / 421.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/0.3016, allocations: 4 kB / 421.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002207/0.3038, allocations: 0.9654 MB / 422.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.3039, allocations: 77.11 kB / 422.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.3044, allocations: 393.6 kB / 422.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.3044, allocations: 33.7 kB / 422.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.3047, allocations: 291.4 kB / 423.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.493e-05/0.3048, allocations: 118.3 kB / 423.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.3049, allocations: 78.03 kB / 423.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3051, allocations: 350.8 kB / 423.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.3053, allocations: 100.8 kB / 423.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.3056, allocations: 194.6 kB / 424 MB, free: 1.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.3061, allocations: 317 kB / 424.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3062, allocations: 0 / 424.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008601/0.307, allocations: 446.4 kB / 424.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3071, allocations: 4 kB / 424.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3071, allocations: 4 kB / 424.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003679/0.3074, allocations: 85.84 kB / 424.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.3078, allocations: 79.88 kB / 424.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.3105, allocations: 3.131 MB / 428.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.3109, allocations: 24 kB / 428.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3109, allocations: 12 kB / 428.1 MB, free: 13.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002518/0.3112, allocations: 173.6 kB / 428.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.3113, allocations: 55.31 kB / 428.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/0.3114, allocations: 39.47 kB / 428.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3114, allocations: 4 kB / 428.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3114, allocations: 0 / 428.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3114, allocations: 4 kB / 428.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.3129, allocations: 0.952 MB / 429.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.313, allocations: 0 / 429.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.3132, allocations: 47.91 kB / 429.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002867/0.3135, allocations: 77.64 kB / 429.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.3135, allocations: 8 kB / 429.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.3162, allocations: 3.128 MB / 432.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3163, allocations: 0 / 432.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009796/0.3173, allocations: 0.6175 MB / 433.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.3174, allocations: 116.6 kB / 433.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.3175, allocations: 11.94 kB / 433.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.3179, allocations: 23.98 kB / 433.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.318, allocations: 27.95 kB / 433.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.318, allocations: 12 kB / 433.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.3183, allocations: 279.2 kB / 433.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3183, allocations: 0 / 433.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006723/0.319, allocations: 116 kB / 433.8 MB, free: 7.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/0.3202, allocations: 1.169 MB / 434.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.3214, allocations: 0.5112 MB / 435.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.3214, allocations: 4 kB / 435.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.3223, allocations: 388 kB / 435.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008654/0.3232, allocations: 66.22 kB / 435.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008668/0.3318, allocations: 4.201 MB / 440.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.3325, allocations: 0.8469 MB / 441 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002659/0.3327, allocations: 43.28 kB / 441 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.3331, allocations: 175.4 kB / 441.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.677e-06/0.3331, allocations: 112 / 441.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04295/0.376, allocations: 9.19 MB / 450.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.848/10.22, allocations: 15.53 kB / 450.4 MB, free: 6.68 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches