Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001669, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 43.09 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.0906, allocations: 49.45 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007191/0.09784, allocations: 5.601 MB / 355.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.1012, allocations: 1.799 MB / 357.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006607/0.1018, allocations: 23.94 kB / 357.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.1055, allocations: 1.615 MB / 359.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.1075, allocations: 0.7598 MB / 360 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008209/0.1084, allocations: 279.4 kB / 360.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.1096, allocations: 0.8016 MB / 361 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.1111, allocations: 0.8645 MB / 361.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000498/0.1116, allocations: 350.7 kB / 362.2 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006324/0.1123, allocations: 498.2 kB / 362.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.1124, allocations: 80 kB / 362.8 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.113, allocations: 235.8 kB / 363 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.1132, allocations: 187.4 kB / 363.2 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005999/0.1138, allocations: 421.9 kB / 363.6 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.1154, allocations: 1.156 MB / 364.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1154, allocations: 0 / 364.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1154, allocations: 0 / 364.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.984e-05/0.1154, allocations: 0 / 364.8 MB, free: 5.605 MB / 302.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.004484/0.1199, allocations: 1.354 MB / 366.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.12, allocations: 8.031 kB / 366.2 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002574/0.1203, allocations: 148.3 kB / 366.3 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.125, allocations: 0.6516 MB / 367 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.1257, allocations: 415.1 kB / 367.4 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/0.1257, allocations: 70.38 kB / 367.4 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.1259, allocations: 100.3 kB / 367.5 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.1276, allocations: 0.9861 MB / 368.5 MB, free: 1.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.1277, allocations: 0 / 368.5 MB, free: 1.773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/0.1278, allocations: 40 kB / 368.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.1278, allocations: 24 kB / 368.6 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.1296, allocations: 0.9252 MB / 369.5 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1566/0.2862, allocations: 3.371 MB / 372.9 MB, free: 23.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.2882, allocations: 2.239 MB / 375.1 MB, free: 21.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.2887, allocations: 287.4 kB / 375.4 MB, free: 21.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-05/0.2888, allocations: 99.38 kB / 375.5 MB, free: 21.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.2888, allocations: 44.08 kB / 375.5 MB, free: 21.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.755e-06/0.2889, allocations: 0 / 375.5 MB, free: 21.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001286/0.2901, allocations: 0.7163 MB / 376.2 MB, free: 20.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2902, allocations: 110.8 kB / 376.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.2905, allocations: 274.5 kB / 376.6 MB, free: 20.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.2905, allocations: 36.45 kB / 376.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2907, allocations: 379.7 kB / 377 MB, free: 20.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.2908, allocations: 221.9 kB / 377.2 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.291, allocations: 138 kB / 377.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.291, allocations: 351.3 kB / 377.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.2916, allocations: 222.1 kB / 377.9 MB, free: 19.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.2922, allocations: 438.4 kB / 378.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000894/0.2931, allocations: 0.6995 MB / 379.1 MB, free: 18.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2931, allocations: 2.312 kB / 379.1 MB, free: 18.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0012/0.2944, allocations: 0.7527 MB / 379.8 MB, free: 18.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.2944, allocations: 7.797 kB / 379.8 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.2944, allocations: 6.219 kB / 379.8 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.2944, allocations: 10.91 kB / 379.8 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.2951, allocations: 187.6 kB / 380 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.2951, allocations: 14.7 kB / 380 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.2955, allocations: 83.02 kB / 380.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/0.2956, allocations: 39.78 kB / 380.2 MB, free: 18.39 MB / 302.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.0002189/0.2958, allocations: 219.8 kB / 380.4 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2959, allocations: 38.53 kB / 380.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.2971, allocations: 0.643 MB / 381.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.2971, allocations: 13.73 kB / 381.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2971, allocations: 1 kB / 381.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.2971, allocations: 12.8 kB / 381.1 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.2992, allocations: 1.482 MB / 382.6 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2992, allocations: 1.219 kB / 382.6 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.2998, allocations: 138.8 kB / 382.7 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2998, allocations: 3.375 kB / 382.7 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.2998, allocations: 21.97 kB / 382.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.2998, allocations: 3.938 kB / 382.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2998, allocations: 1.969 kB / 382.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.3012, allocations: 1.118 MB / 383.9 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.3013, allocations: 124.7 kB / 384 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.3014, allocations: 11.47 kB / 384 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.3017, allocations: 21.12 kB / 384 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/0.3019, allocations: 49.03 kB / 384.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.3019, allocations: 23.28 kB / 384.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.302, allocations: 188.5 kB / 384.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3021, allocations: 0 / 384.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000719/0.3028, allocations: 222.9 kB / 384.5 MB, free: 16.09 MB / 302.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.001623/0.3044, allocations: 1.716 MB / 386.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.3057, allocations: 0.638 MB / 386.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3057, allocations: 0 / 386.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.3061, allocations: 305.9 kB / 387.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.3067, allocations: 41.52 kB / 387.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/0.3122, allocations: 4.851 MB / 392 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3126, allocations: 0.8973 MB / 392.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003533/0.313, allocations: 81.39 kB / 393 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.3133, allocations: 257.4 kB / 393.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3133, allocations: 0 / 393.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.3399, allocations: 9.345 MB / 402.6 MB, free: 4.734 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.82, allocations: 7.875 kB / 402.6 MB, free: 4.727 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches