Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.001326/0.001326, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001597/0.001597, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.523/1.523, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",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.002017/0.002017, allocations: 59.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3297, allocations: 49.16 MB / 396.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01705/0.3467, allocations: 14.68 MB / 411.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.3584, allocations: 3.983 MB / 415 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004401/0.3628, allocations: 99.59 kB / 415.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0145/0.3773, allocations: 5.651 MB / 420.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008921/0.3862, allocations: 1.645 MB / 422.4 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004589/0.3908, allocations: 1.253 MB / 423.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01272/0.4035, allocations: 6.862 MB / 430.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01713/0.4207, allocations: 9.276 MB / 439.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006999/0.4277, allocations: 3.569 MB / 443.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008396/0.4361, allocations: 4.166 MB / 447.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002906/0.439, allocations: 0.9141 MB / 448.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004274/0.4432, allocations: 1.101 MB / 449.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003287/0.4465, allocations: 1.936 MB / 451.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008952/0.4555, allocations: 3.793 MB / 455.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02142/0.4769, allocations: 12.43 MB / 467.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4769, allocations: 0 / 467.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4769, allocations: 0 / 467.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004285/0.4773, allocations: 0 / 467.7 MB, free: 11.67 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02765/0.505, allocations: 8.362 MB / 476.1 MB, free: 3.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.505, allocations: 15.97 kB / 476.1 MB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003304/0.5083, allocations: 1.133 MB / 477.2 MB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03141/0.5398, allocations: 5.111 MB / 482.3 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.5506, allocations: 3.573 MB / 485.9 MB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006926/0.5513, allocations: 0.502 MB / 486.4 MB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002905/0.5542, allocations: 0.6718 MB / 487.1 MB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02654/0.5807, allocations: 10.5 MB / 497.6 MB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001862/0.5809, allocations: 7.891 kB / 497.6 MB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009795/0.5819, allocations: 284 kB / 497.9 MB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004824/0.5824, allocations: 386.7 kB / 498.3 MB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/0.6021, allocations: 9.645 MB / 0.496 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05889/0.661, allocations: 30.11 MB / 0.5254 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.6739, allocations: 5.8 MB / 0.5311 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003404/0.6773, allocations: 1.741 MB / 0.5328 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.6891, allocations: 5.049 MB / 0.5377 GB, free: 8.293 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/0.6892, allocations: 48 kB / 0.5377 GB, free: 8.238 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 4.078e-06/0.6892, allocations: 4 kB / 0.5377 GB, free: 8.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=150): time 0.007581/0.6967, allocations: 3.031 MB / 0.5407 GB, free: 5.191 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.6968, allocations: 94.55 kB / 0.5408 GB, free: 5.082 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005671/0.7025, allocations: 2.62 MB / 0.5433 GB, free: 2.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.7026, allocations: 49.7 kB / 0.5434 GB, free: 2.375 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002928/0.7056, allocations: 3.252 MB / 0.5466 GB, free: 15.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007783/0.7063, allocations: 0.5774 MB / 0.5471 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001974/0.7083, allocations: 0.802 MB / 0.5479 GB, free: 13.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.7085, allocations: 309.1 kB / 0.5482 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002776/0.7112, allocations: 1.464 MB / 0.5496 GB, free: 11.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004466/0.7157, allocations: 3.253 MB / 0.5528 GB, free: 7.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007115/0.7228, allocations: 4.831 MB / 0.5575 GB, free: 2.133 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-05/0.7229, allocations: 16 kB / 0.5576 GB, free: 2.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.2429/0.9657, allocations: 5.082 MB / 0.5625 GB, free: 136.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.442e-05/0.9658, allocations: 31.75 kB / 0.5625 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/0.966, allocations: 62.11 kB / 0.5626 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009678/0.9669, allocations: 339.4 kB / 0.5629 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/0.9703, allocations: 0.8819 MB / 0.5638 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005202/0.9755, allocations: 4.839 MB / 0.5685 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003677/0.9792, allocations: 0.5538 MB / 0.5691 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006811/0.9799, allocations: 214.7 kB / 0.5693 GB, free: 133.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004919/0.9848, allocations: 2.327 MB / 0.5715 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006433/0.9854, allocations: 234.2 kB / 0.5718 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/0.9901, allocations: 2.314 MB / 0.574 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.9901, allocations: 15.09 kB / 0.574 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.9901, allocations: 8.312 kB / 0.574 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/0.9901, allocations: 9.078 kB / 0.574 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009522/0.9996, allocations: 5.363 MB / 0.5793 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.9997, allocations: 1.344 kB / 0.5793 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.001, allocations: 255.7 kB / 0.5795 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006824/1.002, allocations: 261 kB / 0.5798 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.884e-05/1.002, allocations: 32.67 kB / 0.5798 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004261/1.006, allocations: 4.741 MB / 0.5844 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.006, allocations: 0 / 0.5844 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/1.01, allocations: 3.299 MB / 0.5877 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.011, allocations: 418.9 kB / 0.5881 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/1.011, allocations: 29.78 kB / 0.5881 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.012, allocations: 92.06 kB / 0.5882 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/1.013, allocations: 108.7 kB / 0.5883 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/1.013, allocations: 46.55 kB / 0.5883 GB, free: 123.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00212/1.015, allocations: 1.727 MB / 0.59 GB, free: 123.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.015, allocations: 0 / 0.59 GB, free: 123.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004204/1.019, allocations: 1.547 MB / 0.5915 GB, free: 122.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.plug_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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004281/1.023, allocations: 3.924 MB / 0.5954 GB, free: 120.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005389/1.029, allocations: 3.344 MB / 0.5986 GB, free: 119.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.029, allocations: 3.562 kB / 0.5986 GB, free: 119.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.03, allocations: 1.179 MB / 0.5998 GB, free: 118.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.033, allocations: 0.4929 MB / 0.6003 GB, free: 118.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04265/1.075, allocations: 31.14 MB / 0.6307 GB, free: 85.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004778/1.08, allocations: 4.183 MB / 0.6348 GB, free: 81.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002976/1.083, allocations: 1.291 MB / 0.636 GB, free: 80.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002186/1.085, allocations: 2.12 MB / 0.6381 GB, free: 78.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.403e-06/1.085, allocations: 0 / 0.6381 GB, free: 78.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/1.207, allocations: 72.37 MB / 0.7088 GB, free: 5.773 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/17.37, allocations: 17.92 kB / 0.7088 GB, free: 5.758 MB / 478.1 MB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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: 20.27099209697917]