Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 183.1 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.92 kB / 370.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2408, allocations: 52.18 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01591/0.2567, allocations: 14 MB / 436.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008051/0.2648, allocations: 3.796 MB / 440.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.2667, allocations: 119.5 kB / 440.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.2793, allocations: 5.617 MB / 446.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005181/0.2845, allocations: 1.573 MB / 447.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.2875, allocations: 1.101 MB / 448.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008341/0.2958, allocations: 6.402 MB / 455.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01495/0.3107, allocations: 9.13 MB / 464.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004586/0.3153, allocations: 3.374 MB / 467.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005968/0.3213, allocations: 3.874 MB / 471.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.3231, allocations: 0.8906 MB / 472.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.3257, allocations: 1.078 MB / 473.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.3274, allocations: 1.769 MB / 475.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004773/0.3321, allocations: 3.568 MB / 478.9 MB, free: 6.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.3457, allocations: 11.97 MB / 490.9 MB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3457, allocations: 0 / 490.9 MB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.3457, allocations: 4 kB / 490.9 MB, free: 10.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002847/0.346, allocations: 0 / 490.9 MB, free: 10.03 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.02071/0.3667, allocations: 7.833 MB / 498.7 MB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3667, allocations: 8.031 kB / 498.8 MB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002056/0.3688, allocations: 1.047 MB / 499.8 MB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/0.3873, allocations: 2.927 MB / 0.4909 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008487/0.3958, allocations: 3.736 MB / 0.4946 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004601/0.3963, allocations: 485.1 kB / 0.4951 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/0.3981, allocations: 0.6288 MB / 0.4957 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/0.4161, allocations: 9.331 MB / 0.5048 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.4163, allocations: 11.89 kB / 0.5048 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006198/0.4169, allocations: 264 kB / 0.505 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000305/0.4172, allocations: 317.4 kB / 0.5053 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/0.4312, allocations: 7.97 MB / 0.5131 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.247/0.6782, allocations: 27.4 MB / 0.5399 GB, free: 90.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006567/0.6847, allocations: 3.933 MB / 0.5437 GB, free: 90.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.6865, allocations: 1.449 MB / 0.5451 GB, free: 90.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.6867, allocations: 65.33 kB / 0.5452 GB, free: 90.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.6867, allocations: 59.94 kB / 0.5453 GB, free: 90.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.158e-06/0.6867, allocations: 2.5 kB / 0.5453 GB, free: 90.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006485/0.6932, allocations: 4.009 MB / 0.5492 GB, free: 89.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.6932, allocations: 103.8 kB / 0.5493 GB, free: 89.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.6952, allocations: 1.904 MB / 0.5511 GB, free: 89.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.6953, allocations: 66.64 kB / 0.5512 GB, free: 89.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00091/0.6962, allocations: 2.641 MB / 0.5538 GB, free: 88.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003877/0.6966, allocations: 0.8591 MB / 0.5546 GB, free: 87.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000691/0.6973, allocations: 0.6582 MB / 0.5553 GB, free: 87.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.591e-05/0.6973, allocations: 305.1 kB / 0.5556 GB, free: 87.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.6989, allocations: 1.402 MB / 0.5569 GB, free: 86.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.7008, allocations: 2.597 MB / 0.5595 GB, free: 84.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003563/0.7044, allocations: 4.231 MB / 0.5636 GB, free: 81.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.7044, allocations: 10.69 kB / 0.5636 GB, free: 81.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005223/0.7096, allocations: 4.516 MB / 0.568 GB, free: 79.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.7096, allocations: 29.12 kB / 0.568 GB, free: 79.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.711e-05/0.7097, allocations: 42.56 kB / 0.5681 GB, free: 79.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006602/0.7103, allocations: 314.6 kB / 0.5684 GB, free: 79.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/0.7127, allocations: 0.7763 MB / 0.5691 GB, free: 78.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/0.7165, allocations: 4.833 MB / 0.5739 GB, free: 73.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.7183, allocations: 423.8 kB / 0.5743 GB, free: 73.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.7185, allocations: 161.9 kB / 0.5744 GB, free: 72.96 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.002632/0.7212, allocations: 2.191 MB / 0.5766 GB, free: 70.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.7215, allocations: 222.5 kB / 0.5768 GB, free: 70.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/0.7255, allocations: 3.17 MB / 0.5799 GB, free: 67.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.7255, allocations: 26.81 kB / 0.5799 GB, free: 67.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7255, allocations: 4 kB / 0.5799 GB, free: 67.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.7255, allocations: 15.94 kB / 0.5799 GB, free: 67.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.739, allocations: 10.94 MB / 0.5906 GB, free: 56.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.739, allocations: 16.06 kB / 0.5906 GB, free: 56.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.7405, allocations: 436.7 kB / 0.591 GB, free: 55.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005422/0.741, allocations: 281.5 kB / 0.5913 GB, free: 55.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.7411, allocations: 64 kB / 0.5914 GB, free: 55.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/0.7447, allocations: 4.773 MB / 0.596 GB, free: 50.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.7448, allocations: 27.81 kB / 0.596 GB, free: 50.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/0.7497, allocations: 4.991 MB / 0.6009 GB, free: 45.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.7507, allocations: 481.8 kB / 0.6014 GB, free: 44.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.751, allocations: 67.92 kB / 0.6014 GB, free: 44.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.7522, allocations: 127.9 kB / 0.6016 GB, free: 44.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.7524, allocations: 209.3 kB / 0.6018 GB, free: 44.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.7525, allocations: 83.98 kB / 0.6018 GB, free: 44.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001362/0.7539, allocations: 1.294 MB / 0.6031 GB, free: 42.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7539, allocations: 4 kB / 0.6031 GB, free: 42.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003227/0.7571, allocations: 1.462 MB / 0.6045 GB, free: 41.43 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.005271/0.7624, allocations: 5.659 MB / 0.6101 GB, free: 35.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004278/0.7666, allocations: 3.495 MB / 0.6135 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.7666, allocations: 0 / 0.6135 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.7684, allocations: 1.584 MB / 0.615 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.7707, allocations: 0.5132 MB / 0.6155 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03351/0.8042, allocations: 29.1 MB / 0.644 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004498/0.8087, allocations: 4.008 MB / 0.6479 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003017/0.8117, allocations: 1.199 MB / 0.649 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002568/0.8143, allocations: 1.995 MB / 0.651 GB, free: 7.77 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8143, allocations: 0 / 0.651 GB, free: 7.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/0.9531, allocations: 69.63 MB / 0.719 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.46, allocations: 7.156 kB / 0.719 GB, free: 2.383 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 19.184955219039693]