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.001385/0.001385, allocations: 117.8 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.002522/0.002522, allocations: 208.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.387/1.387, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2428, allocations: 50.54 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005735/0.2486, allocations: 5.615 MB / 414.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.2514, allocations: 1.865 MB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.2517, allocations: 20 kB / 416.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.2548, allocations: 1.614 MB / 417.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.2561, allocations: 0.5862 MB / 418.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007417/0.2568, allocations: 422.9 kB / 418.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007192/0.2575, allocations: 0.8056 MB / 419.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.2586, allocations: 0.8619 MB / 420.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.259, allocations: 354.6 kB / 420.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.2595, allocations: 494.1 kB / 421.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.228e-05/0.2596, allocations: 80 kB / 421.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.26, allocations: 239.9 kB / 421.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.2602, allocations: 191.4 kB / 421.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.2605, allocations: 425.9 kB / 422.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.2616, allocations: 1.18 MB / 423.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2617, allocations: 0 / 423.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2617, allocations: 0 / 423.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.2617, allocations: 0 / 423.5 MB, free: 2.77 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.002937/0.2646, allocations: 1.35 MB / 424.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2647, allocations: 12.03 kB / 424.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.2648, allocations: 144.3 kB / 425 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004266/0.2691, allocations: 0.6555 MB / 425.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.2696, allocations: 413.6 kB / 426 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.2697, allocations: 74.38 kB / 426.1 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.2698, allocations: 100.4 kB / 426.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.2713, allocations: 0.9899 MB / 427.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.2714, allocations: 4 kB / 427.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.2715, allocations: 40 kB / 427.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.2715, allocations: 20 kB / 427.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.2729, allocations: 0.9252 MB / 428.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.277, allocations: 3.422 MB / 431.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.2791, allocations: 2.233 MB / 433.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.2796, allocations: 295.3 kB / 434.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.2797, allocations: 186.8 kB / 434.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2797, allocations: 43.06 kB / 434.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.2797, allocations: 0 / 434.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001231/0.281, allocations: 0.7132 MB / 435 MB, free: 6.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.281, allocations: 115.6 kB / 435.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.2813, allocations: 270.5 kB / 435.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.2813, allocations: 37.7 kB / 435.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.2815, allocations: 382.6 kB / 435.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.2816, allocations: 224.8 kB / 436 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.2818, allocations: 130.6 kB / 436.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2819, allocations: 350.8 kB / 436.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.2823, allocations: 225.9 kB / 436.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.2828, allocations: 435.3 kB / 437.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/0.2837, allocations: 0.695 MB / 437.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2837, allocations: 4 kB / 437.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001096/0.2848, allocations: 0.7449 MB / 438.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2848, allocations: 11.94 kB / 438.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.2849, allocations: 8.031 kB / 438.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.2849, allocations: 12 kB / 438.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/0.2855, allocations: 187.7 kB / 438.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.2855, allocations: 15.94 kB / 438.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.2859, allocations: 79.2 kB / 438.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.2859, allocations: 35.94 kB / 439 MB, free: 2.285 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.0002256/0.2862, allocations: 229.5 kB / 439.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2863, allocations: 43.47 kB / 439.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.2874, allocations: 0.6478 MB / 439.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.2874, allocations: 8 kB / 439.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2874, allocations: 3.938 kB / 439.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2874, allocations: 3.984 kB / 439.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.2894, allocations: 1.465 MB / 441.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.2895, allocations: 4 kB / 441.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.29, allocations: 143.8 kB / 441.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.29, allocations: 0 / 441.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.2901, allocations: 19.98 kB / 441.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2901, allocations: 3.938 kB / 441.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2901, allocations: 8 kB / 441.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2915, allocations: 1.119 MB / 442.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.2916, allocations: 116.5 kB / 442.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.2916, allocations: 12 kB / 442.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.292, allocations: 31.92 kB / 442.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/0.2921, allocations: 40.56 kB / 442.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.2921, allocations: 20 kB / 442.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.2923, allocations: 190 kB / 443 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2923, allocations: 0 / 443 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006645/0.293, allocations: 227.1 kB / 443.3 MB, free: 13.86 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.001794/0.2948, allocations: 1.71 MB / 445 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009461/0.2957, allocations: 0.6068 MB / 445.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2957, allocations: 0 / 445.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.2962, allocations: 307 kB / 445.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.2966, allocations: 36.56 kB / 445.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.3023, allocations: 4.826 MB / 450.7 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.3027, allocations: 0.9007 MB / 451.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.303, allocations: 76.39 kB / 451.7 MB, free: 5.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.3033, allocations: 255.3 kB / 452 MB, free: 4.852 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3033, allocations: 3.938 kB / 452 MB, free: 4.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.822/2.125, allocations: 9.703 MB / 461.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/12.9, allocations: 26.56 kB / 461.7 MB, free: 11.26 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.0.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