Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001368/0.001368, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001535/0.001535, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 55.91 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2496, allocations: 53.36 MB / 431.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01637/0.266, allocations: 14.01 MB / 445.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008325/0.2743, allocations: 3.866 MB / 449 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.2767, allocations: 119.4 kB / 449.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01332/0.29, allocations: 5.616 MB / 454.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006301/0.2963, allocations: 1.408 MB / 456.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.3007, allocations: 1.239 MB / 457.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009511/0.3102, allocations: 6.49 MB / 463.9 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01667/0.3269, allocations: 9.161 MB / 473.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005419/0.3323, allocations: 3.355 MB / 476.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006648/0.339, allocations: 3.889 MB / 480.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002438/0.3414, allocations: 0.8867 MB / 481.2 MB, free: 4.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003402/0.3448, allocations: 1.082 MB / 482.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003156/0.348, allocations: 1.773 MB / 484.1 MB, free: 1.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00666/0.3546, allocations: 3.575 MB / 487.6 MB, free: 14.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01729/0.3719, allocations: 11.99 MB / 499.6 MB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3719, allocations: 0 / 499.6 MB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3719, allocations: 0 / 499.6 MB, free: 2.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003969/0.3723, allocations: 0 / 499.6 MB, free: 2.059 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02379/0.3961, allocations: 7.835 MB / 0.4956 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3962, allocations: 12.03 kB / 0.4956 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003062/0.3992, allocations: 1.05 MB / 0.4966 GB, free: 9.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/0.4194, allocations: 2.875 MB / 0.4994 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.4296, allocations: 3.756 MB / 0.5031 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006267/0.4302, allocations: 485.1 kB / 0.5035 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002679/0.4329, allocations: 0.6288 MB / 0.5041 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02625/0.4591, allocations: 9.358 MB / 0.5133 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003381/0.4595, allocations: 3.953 kB / 0.5133 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002246/0.4617, allocations: 264 kB / 0.5135 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004153/0.4621, allocations: 317.5 kB / 0.5138 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.4811, allocations: 7.989 MB / 0.5216 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2856/0.7667, allocations: 27.43 MB / 0.5484 GB, free: 84.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007004/0.7737, allocations: 3.961 MB / 0.5523 GB, free: 83.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.7756, allocations: 1.449 MB / 0.5537 GB, free: 82.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.7758, allocations: 79.89 kB / 0.5538 GB, free: 82.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.7758, allocations: 66.94 kB / 0.5539 GB, free: 82.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.208e-06/0.7758, allocations: 1.203 kB / 0.5539 GB, free: 82.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006651/0.7825, allocations: 4.025 MB / 0.5578 GB, free: 81.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.7825, allocations: 101.7 kB / 0.5579 GB, free: 81.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.7846, allocations: 1.909 MB / 0.5597 GB, free: 80.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.7847, allocations: 61.23 kB / 0.5598 GB, free: 80.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009666/0.7857, allocations: 2.644 MB / 0.5624 GB, free: 78.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.7861, allocations: 0.8502 MB / 0.5632 GB, free: 77.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007383/0.7868, allocations: 0.6715 MB / 0.5639 GB, free: 77.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.7869, allocations: 316.7 kB / 0.5642 GB, free: 76.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.7885, allocations: 1.402 MB / 0.5655 GB, free: 76.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.7904, allocations: 2.592 MB / 0.5681 GB, free: 73.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/0.7941, allocations: 4.252 MB / 0.5722 GB, free: 69.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.7941, allocations: 18.81 kB / 0.5722 GB, free: 69.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005534/0.7997, allocations: 4.538 MB / 0.5767 GB, free: 65.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.7997, allocations: 20 kB / 0.5767 GB, free: 65.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/0.7997, allocations: 40 kB / 0.5767 GB, free: 65.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006703/0.8004, allocations: 307.2 kB / 0.577 GB, free: 65.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.8027, allocations: 0.78 MB / 0.5778 GB, free: 64.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.8067, allocations: 4.846 MB / 0.5825 GB, free: 59.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.8088, allocations: 420.2 kB / 0.5829 GB, free: 58.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.809, allocations: 168 kB / 0.5831 GB, free: 58.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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.00281/0.8118, allocations: 2.194 MB / 0.5852 GB, free: 56.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.8121, allocations: 222.5 kB / 0.5854 GB, free: 56.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/0.8162, allocations: 3.162 MB / 0.5885 GB, free: 53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.8162, allocations: 24 kB / 0.5885 GB, free: 52.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8162, allocations: 8 kB / 0.5886 GB, free: 52.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.8163, allocations: 20.98 kB / 0.5886 GB, free: 52.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.8323, allocations: 11.02 MB / 0.5993 GB, free: 41.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.8323, allocations: 19.94 kB / 0.5994 GB, free: 41.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.8338, allocations: 445.3 kB / 0.5998 GB, free: 41.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005804/0.8344, allocations: 270.4 kB / 0.6 GB, free: 41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.8345, allocations: 71.97 kB / 0.6001 GB, free: 40.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/0.8386, allocations: 4.786 MB / 0.6048 GB, free: 35.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/0.8386, allocations: 19.94 kB / 0.6048 GB, free: 35.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005585/0.8442, allocations: 5.018 MB / 0.6097 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.8453, allocations: 481.8 kB / 0.6102 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/0.8457, allocations: 59.98 kB / 0.6102 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.8471, allocations: 119.9 kB / 0.6103 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.8473, allocations: 217.3 kB / 0.6105 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.8475, allocations: 87.98 kB / 0.6106 GB, free: 29.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001683/0.8492, allocations: 1.291 MB / 0.6119 GB, free: 28.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8492, allocations: 0 / 0.6119 GB, free: 28.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00382/0.853, allocations: 1.469 MB / 0.6133 GB, free: 26.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.006172/0.8592, allocations: 5.682 MB / 0.6189 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005055/0.8642, allocations: 3.491 MB / 0.6223 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/0.8642, allocations: 3.938 kB / 0.6223 GB, free: 17.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.8662, allocations: 1.6 MB / 0.6238 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.8689, allocations: 0.5159 MB / 0.6243 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04865/0.9176, allocations: 29.08 MB / 0.6527 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008188/0.9258, allocations: 4.012 MB / 0.6567 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003778/0.9296, allocations: 1.199 MB / 0.6578 GB, free: 11.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003725/0.9333, allocations: 2.007 MB / 0.6598 GB, free: 9.266 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.9333, allocations: 3.938 kB / 0.6598 GB, free: 9.262 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1466/1.08, allocations: 69.95 MB / 0.7281 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.32, allocations: 8 kB / 0.7281 GB, free: 3.555 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.22224046709016]