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.001817/0.001817, allocations: 121.4 kB / 19.17 MB, free: 3.898 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.002224/0.002224, allocations: 203.9 kB / 22.12 MB, free: 0.9609 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.433/1.433, allocations: 207.6 MB / 232.5 MB, free: 3.934 MB / 174.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",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.001697/0.001697, allocations: 47.94 kB / 343 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1061, allocations: 49.13 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.02662/0.1328, allocations: 14.67 MB / 406.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.1439, allocations: 3.964 MB / 410.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004248/0.1481, allocations: 99.56 kB / 410.9 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01759/0.1657, allocations: 5.644 MB / 416.5 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008928/0.1747, allocations: 1.585 MB / 418.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.1799, allocations: 1.231 MB / 419.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01339/0.1933, allocations: 6.76 MB / 426.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02169/0.215, allocations: 10.8 MB / 436.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005738/0.2207, allocations: 3.561 MB / 440.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007626/0.2284, allocations: 4.162 MB / 444.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003527/0.2319, allocations: 0.9141 MB / 445.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004852/0.2367, allocations: 1.101 MB / 446.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003788/0.2405, allocations: 1.932 MB / 448.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007425/0.248, allocations: 3.793 MB / 452.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2457/0.4936, allocations: 12.41 MB / 464.8 MB, free: 28.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.4936, allocations: 1.969 kB / 464.8 MB, free: 28.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4936, allocations: 0 / 464.8 MB, free: 28.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000527/0.4942, allocations: 0 / 464.8 MB, free: 28.34 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.03945/0.5336, allocations: 8.439 MB / 473.2 MB, free: 26.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.5337, allocations: 12.91 kB / 473.2 MB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004138/0.5341, allocations: 218.5 kB / 473.4 MB, free: 25.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004314/0.5384, allocations: 1.142 MB / 474.6 MB, free: 25.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03832/0.5767, allocations: 5.11 MB / 479.7 MB, free: 25.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009798/0.5865, allocations: 3.569 MB / 483.2 MB, free: 24.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006213/0.5872, allocations: 0.5083 MB / 483.8 MB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00307/0.5902, allocations: 0.6757 MB / 484.4 MB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/0.6159, allocations: 10.52 MB / 494.9 MB, free: 20.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002923/0.6162, allocations: 15.77 kB / 495 MB, free: 20.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00167/0.6179, allocations: 286.1 kB / 495.2 MB, free: 19.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002948/0.6182, allocations: 387.2 kB / 495.6 MB, free: 19.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01821/0.6364, allocations: 9.668 MB / 0.4934 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0551/0.6915, allocations: 31.7 MB / 0.5244 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0225/0.714, allocations: 22.63 MB / 0.5465 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003614/0.7176, allocations: 1.794 MB / 0.5482 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.7294, allocations: 6.346 MB / 0.5544 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.7294, allocations: 52.11 kB / 0.5545 GB, free: 8.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.627e-06/0.7294, allocations: 8 kB / 0.5545 GB, free: 8.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=218): time 0.02602/0.7554, allocations: 11.02 MB / 0.5653 GB, free: 13.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.7555, allocations: 99.08 kB / 0.5654 GB, free: 13.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.7599, allocations: 2.628 MB / 0.5679 GB, free: 10.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003636/0.7602, allocations: 61.7 kB / 0.568 GB, free: 10.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002659/0.7629, allocations: 3.234 MB / 0.5711 GB, free: 7.051 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009705/0.7638, allocations: 0.8066 MB / 0.5719 GB, free: 6.254 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/0.7652, allocations: 0.8858 MB / 0.5728 GB, free: 5.355 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7654, allocations: 305.1 kB / 0.5731 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/0.7682, allocations: 1.734 MB / 0.5748 GB, free: 3.312 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004495/0.7727, allocations: 3.559 MB / 0.5783 GB, free: 14.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007781/0.7804, allocations: 5.445 MB / 0.5836 GB, free: 8.863 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.687e-05/0.7805, allocations: 20 kB / 0.5836 GB, free: 8.844 MB / 478.1 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01163/0.7921, allocations: 5.933 MB / 0.5894 GB, free: 3.277 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.7922, allocations: 28 kB / 0.5894 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.696e-05/0.7923, allocations: 67.94 kB / 0.5895 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.7937, allocations: 0.5509 MB / 0.59 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/0.7972, allocations: 0.9629 MB / 0.591 GB, free: 1.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.8092, allocations: 9.989 MB / 0.6007 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/0.8131, allocations: 247.8 kB / 0.6009 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005687/0.8136, allocations: 224 kB / 0.6012 GB, free: 6.793 MB / 494.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 (514): * Single equations (assignments): 510 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,22,100.0%), (2,22,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004403/0.818, allocations: 2.385 MB / 0.6035 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005939/0.8186, allocations: 258.3 kB / 0.6037 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006134/0.8248, allocations: 3.232 MB / 0.6069 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/0.8248, allocations: 20 kB / 0.6069 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.8248, allocations: 9.531 kB / 0.6069 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.8248, allocations: 15.95 kB / 0.6069 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.8408, allocations: 8.391 MB / 0.6151 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.8408, allocations: 5.781 kB / 0.6151 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.8423, allocations: 350.3 kB / 0.6155 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.8435, allocations: 444.5 kB / 0.6159 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.8437, allocations: 47.98 kB / 0.6159 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.854, allocations: 8.933 MB / 0.6247 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.854, allocations: 5.562 kB / 0.6247 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007684/0.8617, allocations: 4.6 MB / 0.6292 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.8629, allocations: 0.5188 MB / 0.6297 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.8632, allocations: 40 kB / 0.6297 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.8646, allocations: 123.9 kB / 0.6298 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003675/0.865, allocations: 149.7 kB / 0.63 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.8651, allocations: 63.98 kB / 0.63 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002633/0.8677, allocations: 1.717 MB / 0.6317 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8677, allocations: 0 / 0.6317 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004469/0.8722, allocations: 1.117 MB / 0.6328 GB, free: 5.91 MB / 0.5137 GB 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 (184): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,3,100.0%), (2,22,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007835/0.88, allocations: 5.232 MB / 0.6379 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007891/0.8879, allocations: 4.361 MB / 0.6422 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.8879, allocations: 4 kB / 0.6422 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00299/0.8909, allocations: 1.865 MB / 0.644 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.8938, allocations: 0.5064 MB / 0.6445 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2673/1.161, allocations: 34.14 MB / 0.6778 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003522/1.165, allocations: 4.293 MB / 0.682 GB, free: 193.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002958/1.168, allocations: 1.37 MB / 0.6834 GB, free: 193.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002087/1.17, allocations: 2.206 MB / 0.6855 GB, free: 191.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/1.17, allocations: 0 / 0.6855 GB, free: 191.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.292, allocations: 75.19 MB / 0.7589 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.39/17.68, allocations: 8.062 kB / 0.7589 GB, free: 118.9 MB / 0.5294 GB " [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.941843197972048]