Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.005849/0.005849, allocations: 114.2 kB / 21.97 MB, free: 5.227 MB / 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.001619/0.001619, allocations: 216.2 kB / 25.28 MB, free: 3.246 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.338/1.338, allocations: 207.6 MB / 236.1 MB, free: 9.984 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.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="cs",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.001716/0.001716, allocations: 47.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2508, allocations: 49.16 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004471/0.2552, allocations: 3.742 MB / 400.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2572, allocations: 1.024 MB / 401.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.2575, allocations: 25.06 kB / 401.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.2578, allocations: 161.8 kB / 402.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007493/0.2586, allocations: 297 kB / 402.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.2588, allocations: 138.4 kB / 402.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.2602, allocations: 1.415 MB / 403.9 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006967/0.2609, allocations: 0.5883 MB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007691/0.2616, allocations: 0.6288 MB / 405.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009088/0.2625, allocations: 0.774 MB / 405.9 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.2627, allocations: 155.7 kB / 406.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.2629, allocations: 156.1 kB / 406.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.2633, allocations: 462.8 kB / 406.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006683/0.264, allocations: 0.7333 MB / 407.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.2659, allocations: 2.039 MB / 409.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2659, allocations: 0 / 409.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2659, allocations: 0 / 409.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.315e-05/0.2659, allocations: 0 / 409.4 MB, free: 2.078 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002544/0.2684, allocations: 1.617 MB / 411.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2685, allocations: 14.58 kB / 411.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.595e-05/0.2685, allocations: 28.19 kB / 411.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.2687, allocations: 178.5 kB / 411.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.2689, allocations: 150.3 kB / 411.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.2701, allocations: 0.7639 MB / 412.2 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.2701, allocations: 86.56 kB / 412.3 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.2703, allocations: 107.4 kB / 412.4 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.2726, allocations: 1.544 MB / 413.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2726, allocations: 0 / 413.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.2727, allocations: 46.16 kB / 414 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.2728, allocations: 31.38 kB / 414 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.2748, allocations: 1.3 MB / 415.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006414/0.2812, allocations: 4.123 MB / 419.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.2821, allocations: 0.6069 MB / 420 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/0.2828, allocations: 430.3 kB / 420.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.2828, allocations: 9.562 kB / 420.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.2829, allocations: 41.47 kB / 420.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 1.953e-06/0.2829, allocations: 0 / 420.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003195/0.2861, allocations: 1.879 MB / 422.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2861, allocations: 67.77 kB / 422.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.2872, allocations: 0.8165 MB / 423.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.2872, allocations: 37.7 kB / 423.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.2877, allocations: 0.5506 MB / 423.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.2878, allocations: 186.4 kB / 424 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.288, allocations: 102.3 kB / 424.1 MB, free: 7.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.2882, allocations: 390.8 kB / 424.5 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.2887, allocations: 297.1 kB / 424.8 MB, free: 7.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.2893, allocations: 408.2 kB / 425.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.2903, allocations: 0.6979 MB / 425.9 MB, free: 6.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2903, allocations: 4 kB / 425.9 MB, free: 6.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001431/0.2917, allocations: 0.9115 MB / 426.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2918, allocations: 8 kB / 426.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2918, allocations: 4 kB / 426.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.292, allocations: 108.8 kB / 426.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.2925, allocations: 131.9 kB / 427.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.295, allocations: 2.261 MB / 429.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.2954, allocations: 32 kB / 429.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.2954, allocations: 16 kB / 429.4 MB, free: 2.477 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006848/0.2961, allocations: 457.5 kB / 429.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.2962, allocations: 75.53 kB / 429.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.2964, allocations: 91.08 kB / 430 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.2964, allocations: 11.98 kB / 430 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.2964, allocations: 3.938 kB / 430 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2964, allocations: 0 / 430 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.2996, allocations: 1.992 MB / 432 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2996, allocations: 0 / 432 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.3, allocations: 83.89 kB / 432.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.3002, allocations: 120.9 kB / 432.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.3003, allocations: 16 kB / 432.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.3026, allocations: 2.218 MB / 434.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.3026, allocations: 7.969 kB / 434.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.3044, allocations: 1.204 MB / 435.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.3046, allocations: 91.5 kB / 435.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.3047, allocations: 12 kB / 435.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.3051, allocations: 47.95 kB / 435.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3052, allocations: 44.3 kB / 435.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.3052, allocations: 24.05 kB / 435.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008247/0.306, allocations: 0.5849 MB / 436.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.306, allocations: 0 / 436.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008255/0.3069, allocations: 208 kB / 436.6 MB, free: 10.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.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 (43): * Single equations (assignments): 42 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002108/0.309, allocations: 1.761 MB / 438.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.3104, allocations: 0.793 MB / 439.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3104, allocations: 128 / 439.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007714/0.3112, allocations: 484.8 kB / 439.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008783/0.3121, allocations: 179.2 kB / 439.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.3253, allocations: 8.622 MB / 448.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.3264, allocations: 1.336 MB / 449.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00047/0.3269, allocations: 185.8 kB / 450 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/0.3274, allocations: 375.2 kB / 450.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3274, allocations: 0 / 450.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05263/0.38, allocations: 20.07 MB / 470.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.48, allocations: 8.062 kB / 470.4 MB, free: 8.816 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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: 14.872376440966036]