Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 52.3 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2325, allocations: 49.16 MB / 396.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007428/0.24, allocations: 6.836 MB / 403.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004697/0.2447, allocations: 2.628 MB / 405.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008969/0.2456, allocations: 75.81 kB / 405.9 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.2468, allocations: 0.5826 MB / 406.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.2486, allocations: 0.7728 MB / 407.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009055/0.2495, allocations: 446.3 kB / 407.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003366/0.2528, allocations: 3.402 MB / 411.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.2554, allocations: 1.855 MB / 412.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.2586, allocations: 1.699 MB / 414.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003405/0.262, allocations: 2.005 MB / 416.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006861/0.2627, allocations: 462 kB / 417.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.2641, allocations: 0.6535 MB / 417.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.2653, allocations: 1.254 MB / 419 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.2673, allocations: 1.59 MB / 420.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006987/0.2743, allocations: 6.136 MB / 426.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2743, allocations: 0 / 426.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2743, allocations: 0 / 426.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001139/0.2744, allocations: 0 / 426.7 MB, free: 4.773 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007881/0.2823, allocations: 3.797 MB / 430.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2824, allocations: 15.98 kB / 430.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005813/0.2829, allocations: 425.9 kB / 431 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009644/0.2839, allocations: 410.6 kB / 431.4 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.2876, allocations: 1.912 MB / 433.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.2878, allocations: 221.8 kB / 433.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/0.2882, allocations: 284 kB / 433.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007159/0.2954, allocations: 4.442 MB / 438.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/0.2954, allocations: 0 / 438.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.2957, allocations: 124 kB / 438.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.2959, allocations: 137.9 kB / 438.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005798/0.3017, allocations: 3.478 MB / 441.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01782/0.3195, allocations: 9.712 MB / 451.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.3221, allocations: 1.64 MB / 453.3 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002551/0.3246, allocations: 1.411 MB / 454.7 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.3248, allocations: 44.97 kB / 454.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.3249, allocations: 59.48 kB / 454.8 MB, free: 8.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.948e-06/0.3249, allocations: 0 / 454.8 MB, free: 8.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.009705/0.3346, allocations: 5.167 MB / 460 MB, free: 3.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.3347, allocations: 90.42 kB / 460.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/0.3376, allocations: 1.937 MB / 462 MB, free: 1.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.3377, allocations: 49.69 kB / 462 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.3388, allocations: 1.353 MB / 463.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004169/0.3392, allocations: 479.9 kB / 463.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/0.3396, allocations: 271.5 kB / 464.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3398, allocations: 305.1 kB / 464.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.3411, allocations: 0.8237 MB / 465.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.3428, allocations: 1.208 MB / 466.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/0.3459, allocations: 2.087 MB / 468.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3459, allocations: 0 / 468.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004599/0.3505, allocations: 2.528 MB / 471.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.3505, allocations: 15.91 kB / 471.1 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.3505, allocations: 8 kB / 471.1 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.3524, allocations: 483.3 kB / 471.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.3537, allocations: 331.5 kB / 471.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/0.3595, allocations: 4.246 MB / 476.1 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.3608, allocations: 83.88 kB / 476.2 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.3609, allocations: 63.98 kB / 476.3 MB, free: 2.262 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.001736/0.3627, allocations: 1.048 MB / 477.3 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005082/0.3632, allocations: 206.8 kB / 477.5 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/0.367, allocations: 2.125 MB / 479.7 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/0.367, allocations: 19.98 kB / 479.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.367, allocations: 4 kB / 479.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.367, allocations: 7.984 kB / 479.7 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009402/0.3765, allocations: 4.869 MB / 484.6 MB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.3765, allocations: 8 kB / 484.6 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.3775, allocations: 235.8 kB / 484.8 MB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.3792, allocations: 457 kB / 485.2 MB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.309e-05/0.3793, allocations: 35.98 kB / 485.3 MB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00559/0.3849, allocations: 4.129 MB / 489.4 MB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3849, allocations: 0 / 489.4 MB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005435/0.3904, allocations: 3.256 MB / 492.7 MB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/0.3917, allocations: 402.6 kB / 493.1 MB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.3919, allocations: 24 kB / 493.1 MB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/0.3929, allocations: 95.95 kB / 493.2 MB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.3931, allocations: 104.6 kB / 493.3 MB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.727e-05/0.3932, allocations: 39.98 kB / 493.3 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002089/0.3953, allocations: 1.342 MB / 494.7 MB, free: 15.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3953, allocations: 0 / 494.7 MB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001707/0.397, allocations: 0.5584 MB / 495.2 MB, free: 15.06 MB / 414.1 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.006159/0.4032, allocations: 3.92 MB / 499.1 MB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004095/0.4073, allocations: 2.129 MB / 0.4895 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.4073, allocations: 0 / 0.4895 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.4095, allocations: 1.169 MB / 0.4907 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.412, allocations: 0.5166 MB / 0.4912 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0332/0.4452, allocations: 20.64 MB / 0.5113 GB, free: 2.031 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.4474, allocations: 1.868 MB / 0.5131 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001393/0.4488, allocations: 491.4 kB / 0.5136 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/0.4503, allocations: 1.066 MB / 0.5147 GB, free: 14.58 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4503, allocations: 0 / 0.5147 GB, free: 14.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2763/0.7266, allocations: 55.47 MB / 0.5688 GB, free: 148.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.6, allocations: 8.297 kB / 0.5688 GB, free: 148.5 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.981316734105349]