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.001235/0.001235, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0017/0.0017, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 67.89 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2267, allocations: 50.55 MB / 408.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005153/0.2319, allocations: 4.107 MB / 413 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.2336, allocations: 0.9541 MB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.2338, allocations: 15.94 kB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.234, allocations: 91.08 kB / 414 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.2344, allocations: 178.4 kB / 414.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.2348, allocations: 159.8 kB / 414.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.2355, allocations: 0.6809 MB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.2358, allocations: 207 kB / 415.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.2361, allocations: 267 kB / 415.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.2365, allocations: 282.7 kB / 415.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.948e-05/0.2366, allocations: 56 kB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.2367, allocations: 67.98 kB / 415.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.2368, allocations: 131.5 kB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.2371, allocations: 302.4 kB / 416.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007134/0.2379, allocations: 0.6486 MB / 417 MB, free: 9.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2379, allocations: 0 / 417 MB, free: 9.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2379, allocations: 0 / 417 MB, free: 9.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.2379, allocations: 0 / 417 MB, free: 9.301 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.001447/0.2393, allocations: 0.8839 MB / 417.9 MB, free: 8.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2394, allocations: 8.031 kB / 417.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.2395, allocations: 107.9 kB / 418 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.2398, allocations: 92.5 kB / 418.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.2404, allocations: 387.9 kB / 418.4 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.2404, allocations: 41.69 kB / 418.5 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.813e-05/0.2405, allocations: 52.33 kB / 418.5 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.2413, allocations: 0.4995 MB / 419 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2413, allocations: 0 / 419 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.2414, allocations: 24 kB / 419.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.2414, allocations: 16 kB / 419.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006598/0.2421, allocations: 344.6 kB / 419.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.2447, allocations: 1.721 MB / 421.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.2452, allocations: 253.1 kB / 421.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.2454, allocations: 145.6 kB / 421.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.2455, allocations: 4 kB / 421.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.2455, allocations: 46.5 kB / 421.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.2455, allocations: 0 / 421.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00188/0.2474, allocations: 0.9855 MB / 422.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.2475, allocations: 77.11 kB / 422.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.248, allocations: 385.7 kB / 423 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.248, allocations: 37.7 kB / 423 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.2483, allocations: 296.1 kB / 423.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.2484, allocations: 126.9 kB / 423.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.2485, allocations: 86.02 kB / 423.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2487, allocations: 346.8 kB / 423.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.2489, allocations: 96.83 kB / 424 MB, free: 1.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.2492, allocations: 198.6 kB / 424.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.2497, allocations: 311.7 kB / 424.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2497, allocations: 0 / 424.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008941/0.2506, allocations: 442.6 kB / 424.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.2507, allocations: 4 kB / 424.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.2507, allocations: 4 kB / 424.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.2511, allocations: 89.84 kB / 425 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.2514, allocations: 79.89 kB / 425.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.2544, allocations: 3.127 MB / 428.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.2547, allocations: 15.94 kB / 428.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.2548, allocations: 19.98 kB / 428.2 MB, free: 13.3 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.0002737/0.255, allocations: 161.7 kB / 428.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.2552, allocations: 51.64 kB / 428.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/0.2552, allocations: 51.41 kB / 428.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2553, allocations: 4 kB / 428.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.2553, allocations: 4.062 kB / 428.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2553, allocations: 0 / 428.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.2568, allocations: 0.9547 MB / 429.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2568, allocations: 4 kB / 429.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.257, allocations: 47.91 kB / 429.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.2573, allocations: 81.83 kB / 429.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.2573, allocations: 8 kB / 429.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.2601, allocations: 3.12 MB / 432.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2601, allocations: 192 / 432.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009753/0.2611, allocations: 0.6216 MB / 433.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.2613, allocations: 120.9 kB / 433.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.2613, allocations: 8 kB / 433.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.2616, allocations: 23.98 kB / 433.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.2617, allocations: 27.97 kB / 433.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.2618, allocations: 11.98 kB / 433.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003358/0.2621, allocations: 279.2 kB / 433.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2621, allocations: 0 / 433.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005882/0.2627, allocations: 116 kB / 433.9 MB, free: 7.23 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.001283/0.264, allocations: 1.174 MB / 435.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009146/0.2649, allocations: 0.5089 MB / 435.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.265, allocations: 4 kB / 435.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006056/0.2656, allocations: 385.7 kB / 436 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.2661, allocations: 67.77 kB / 436 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.2718, allocations: 4.224 MB / 440.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.2723, allocations: 0.843 MB / 441.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.2725, allocations: 47.28 kB / 441.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.2727, allocations: 171.4 kB / 441.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2727, allocations: 0 / 441.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04048/0.3132, allocations: 9.035 MB / 450.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.69, allocations: 23.45 kB / 450.4 MB, free: 6.668 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.1.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