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.001574/0.001574, 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.001803/0.001803, allocations: 216.1 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.361/1.361, allocations: 207.7 MB / 235.3 MB, free: 9.797 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",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.001789/0.001789, allocations: 62.58 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2435, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004177/0.2477, allocations: 3.402 MB / 399.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.2497, allocations: 0.9883 MB / 400.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.2499, allocations: 24.38 kB / 400.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.2503, allocations: 159.9 kB / 400.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008021/0.2511, allocations: 285 kB / 401.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.2514, allocations: 138.9 kB / 401.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.2525, allocations: 1.41 MB / 402.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.2533, allocations: 0.5803 MB / 403.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.2539, allocations: 0.6339 MB / 403.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009667/0.2549, allocations: 0.7774 MB / 404.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.2551, allocations: 155.7 kB / 404.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.2554, allocations: 159.5 kB / 405 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.2558, allocations: 461.8 kB / 405.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005851/0.2563, allocations: 0.6059 MB / 406.1 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.2583, allocations: 2.049 MB / 408.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2583, allocations: 0 / 408.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2583, allocations: 0 / 408.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.007e-05/0.2583, allocations: 0 / 408.1 MB, free: 2.512 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.002666/0.261, allocations: 1.622 MB / 409.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.2611, allocations: 13.23 kB / 409.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.2612, allocations: 173.4 kB / 409.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.2614, allocations: 146.8 kB / 410.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.2628, allocations: 0.7649 MB / 410.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.2629, allocations: 86.03 kB / 410.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.263, allocations: 108.2 kB / 411 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.2655, allocations: 1.695 MB / 412.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.2655, allocations: 7.938 kB / 412.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.2657, allocations: 46.72 kB / 412.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.2657, allocations: 26.44 kB / 412.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.2679, allocations: 1.299 MB / 414.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007134/0.275, allocations: 3.796 MB / 417.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/0.2759, allocations: 0.6119 MB / 418.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.2766, allocations: 424.1 kB / 418.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.2767, allocations: 5.969 kB / 418.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.2767, allocations: 37.81 kB / 419 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.504e-06/0.2767, allocations: 0 / 419 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003533/0.2802, allocations: 1.894 MB / 420.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.2803, allocations: 59.84 kB / 420.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2814, allocations: 0.832 MB / 421.8 MB, free: 9.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.2814, allocations: 29.7 kB / 421.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.2819, allocations: 0.5506 MB / 422.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.282, allocations: 186.4 kB / 422.5 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.2822, allocations: 102.3 kB / 422.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.2824, allocations: 382.8 kB / 423 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.2829, allocations: 305.1 kB / 423.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.2835, allocations: 404.2 kB / 423.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.2845, allocations: 0.698 MB / 424.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2845, allocations: 0 / 424.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001455/0.2859, allocations: 0.9193 MB / 425.3 MB, free: 5.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.286, allocations: 8 kB / 425.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.286, allocations: 4 kB / 425.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.2863, allocations: 112.7 kB / 425.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.2868, allocations: 123.8 kB / 425.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.2893, allocations: 2.246 MB / 427.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.2897, allocations: 23.98 kB / 427.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.2898, allocations: 20 kB / 427.8 MB, free: 2.984 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.0007963/0.2906, allocations: 461.4 kB / 428.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.2907, allocations: 79.53 kB / 428.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.2909, allocations: 91.08 kB / 428.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.2909, allocations: 4 kB / 428.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.2909, allocations: 7.938 kB / 428.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.2909, allocations: 3.984 kB / 428.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.2944, allocations: 1.887 MB / 430.4 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.2944, allocations: 4 kB / 430.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.2948, allocations: 92.05 kB / 430.5 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.295, allocations: 100.8 kB / 430.6 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.295, allocations: 15.98 kB / 430.6 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.2974, allocations: 2.218 MB / 432.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2974, allocations: 0 / 432.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.2992, allocations: 1.204 MB / 434 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.2994, allocations: 91.61 kB / 434.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.2995, allocations: 15.98 kB / 434.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.2999, allocations: 47.95 kB / 434.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3, allocations: 44.3 kB / 434.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.3, allocations: 12 kB / 434.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008129/0.3008, allocations: 0.5888 MB / 434.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3008, allocations: 7.938 kB / 434.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007949/0.3016, allocations: 208 kB / 435 MB, free: 11.6 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.002046/0.3037, allocations: 1.761 MB / 436.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.3051, allocations: 0.7963 MB / 437.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3051, allocations: 0 / 437.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.3058, allocations: 481.8 kB / 438 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008626/0.3067, allocations: 182.9 kB / 438.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.3186, allocations: 8.617 MB / 446.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.3194, allocations: 0.7447 MB / 447.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004666/0.3199, allocations: 185.8 kB / 447.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.3204, allocations: 371.3 kB / 448.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3204, allocations: 4 kB / 448.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05739/0.3778, allocations: 20.96 MB / 469.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.1, allocations: 4 kB / 469.1 MB, free: 9.125 MB / 382.1 MB " [Timeout remaining time 648] (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.397499064914882]