Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009235/0.0009235, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008458/0.0008458, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8791/0.8791, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.664e-05, allocations: 3.547 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005802/0.005819, allocations: 6.944 MB / 331.5 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.008686, allocations: 2.624 MB / 334.1 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.00912, allocations: 87.38 kB / 334.2 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.01021, allocations: 0.5858 MB / 334.8 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.01126, allocations: 0.7996 MB / 335.6 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.01174, allocations: 427.2 kB / 336 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.01362, allocations: 3.423 MB / 339.4 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.01521, allocations: 1.957 MB / 341.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.01768, allocations: 2.494 MB / 343.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.01938, allocations: 1.839 MB / 345.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.01981, allocations: 464 kB / 346.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007387/0.02055, allocations: 0.6518 MB / 346.8 MB, free: 9.477 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007594/0.02131, allocations: 1.301 MB / 348.1 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.02298, allocations: 1.364 MB / 349.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.02674, allocations: 6.225 MB / 355.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.02674, allocations: 0 / 355.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.02675, allocations: 0 / 355.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.923e-05/0.0268, allocations: 0 / 355.7 MB, free: 0.5625 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.00432/0.03112, allocations: 3.797 MB / 359.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.03116, allocations: 11.98 kB / 359.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003672/0.03153, allocations: 434 kB / 359.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007008/0.03223, allocations: 450.5 kB / 360.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.03437, allocations: 2.122 MB / 362.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.03448, allocations: 218.2 kB / 362.7 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.03474, allocations: 284.4 kB / 363 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004595/0.03934, allocations: 4.482 MB / 367.5 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.03937, allocations: 3.938 kB / 367.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.03955, allocations: 120 kB / 367.6 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.03966, allocations: 153.9 kB / 367.7 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003813/0.04347, allocations: 3.501 MB / 371.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009885/0.05335, allocations: 9.754 MB / 381 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.05484, allocations: 1.644 MB / 382.6 MB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.05624, allocations: 1.404 MB / 384 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.05638, allocations: 52.91 kB / 384.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.05641, allocations: 43.56 kB / 384.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 2.765e-06/0.05641, allocations: 4 kB / 384.1 MB, free: 3.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.005397/0.06181, allocations: 5.136 MB / 389.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.06186, allocations: 90.42 kB / 389.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.06356, allocations: 1.941 MB / 391.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.06362, allocations: 45.7 kB / 391.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009148/0.06454, allocations: 1.365 MB / 392.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.06477, allocations: 471.9 kB / 393.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.06503, allocations: 275.5 kB / 393.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.06509, allocations: 305.1 kB / 393.7 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007929/0.06589, allocations: 0.8237 MB / 394.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009887/0.06688, allocations: 1.208 MB / 395.8 MB, free: 7.801 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.06867, allocations: 2.082 MB / 397.8 MB, free: 5.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.06868, allocations: 4 kB / 397.8 MB, free: 5.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002747/0.07143, allocations: 2.524 MB / 400.4 MB, free: 3.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.07145, allocations: 8 kB / 400.4 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.07146, allocations: 12 kB / 400.4 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009055/0.07236, allocations: 479 kB / 400.9 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.07301, allocations: 327.5 kB / 401.2 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.07626, allocations: 4.235 MB / 405.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.07683, allocations: 79.92 kB / 405.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.013e-05/0.07691, allocations: 60 kB / 405.6 MB, free: 13.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.07818, allocations: 1.055 MB / 406.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.07839, allocations: 202.8 kB / 406.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.08046, allocations: 2.137 MB / 408.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.08048, allocations: 19.98 kB / 409 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.08048, allocations: 4 kB / 409 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.08049, allocations: 7.969 kB / 409 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004935/0.08543, allocations: 4.881 MB / 413.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.08543, allocations: 4 kB / 413.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.0859, allocations: 227.6 kB / 414.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008252/0.08673, allocations: 456.5 kB / 414.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/0.08678, allocations: 31.98 kB / 414.6 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003004/0.08979, allocations: 4.149 MB / 418.7 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.08979, allocations: 0 / 418.7 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.09289, allocations: 3.249 MB / 422 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004743/0.09337, allocations: 394.6 kB / 422.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.09349, allocations: 35.94 kB / 422.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.09397, allocations: 95.95 kB / 422.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.0941, allocations: 100.8 kB / 422.6 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.09416, allocations: 39.98 kB / 422.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001158/0.09531, allocations: 1.342 MB / 423.9 MB, free: 11.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09531, allocations: 3.938 kB / 424 MB, free: 11.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009694/0.09628, allocations: 0.5546 MB / 424.5 MB, free: 10.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0036/0.09988, allocations: 3.922 MB / 428.4 MB, free: 6.547 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.1019, allocations: 2.126 MB / 430.6 MB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1019, allocations: 0 / 430.6 MB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.103, allocations: 1.152 MB / 431.7 MB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.1041, allocations: 0.5112 MB / 432.2 MB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1535/0.2577, allocations: 20.7 MB / 452.9 MB, free: 111.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.2591, allocations: 1.886 MB / 454.8 MB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001074/0.2602, allocations: 497.2 kB / 455.3 MB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/0.261, allocations: 1.077 MB / 456.4 MB, free: 111.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.261, allocations: 0 / 456.4 MB, free: 111.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05224/0.3132, allocations: 55.53 MB / 0.4999 GB, free: 61.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.623, allocations: 3.938 kB / 0.4999 GB, free: 61.44 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.386894756928086]