Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.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.001678/0.001678, allocations: 119.3 kB / 17.13 MB, free: 5.926 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.001695/0.001695, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.573/1.573, allocations: 207.6 MB / 230.4 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3881/0.3881, allocations: 44.24 MB / 326.5 MB, free: 6.902 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 79.88 kB / 462.2 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3395, allocations: 60.98 MB / 0.5109 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02059/0.3601, allocations: 22.99 MB / 0.5333 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.3754, allocations: 5.529 MB / 0.5387 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006381/0.3818, allocations: 163.5 kB / 0.5389 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02342/0.4052, allocations: 9.583 MB / 0.5483 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.4156, allocations: 2.401 MB / 0.5506 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007075/0.4227, allocations: 1.72 MB / 0.5523 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02205/0.4448, allocations: 14.66 MB / 0.5666 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0514/0.4962, allocations: 26.23 MB / 0.5922 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01723/0.5134, allocations: 8.077 MB / 0.6001 GB, free: 3.227 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02044/0.5338, allocations: 8.927 MB / 0.6088 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007038/0.5409, allocations: 2.113 MB / 0.6109 GB, free: 8.156 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009618/0.5505, allocations: 2.347 MB / 0.6132 GB, free: 5.809 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008948/0.5594, allocations: 4.403 MB / 0.6175 GB, free: 1.395 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01953/0.579, allocations: 8.533 MB / 0.6258 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6617/1.241, allocations: 28.77 MB / 0.6539 GB, free: 57.5 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.241, allocations: 0.5312 kB / 0.6539 GB, free: 57.5 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.863e-06/1.241, allocations: 0 / 0.6539 GB, free: 57.5 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.0008408/1.242, allocations: 0.7188 kB / 0.6539 GB, free: 57.5 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.06563/1.307, allocations: 19.24 MB / 0.6727 GB, free: 52.72 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.307, allocations: 13.95 kB / 0.6727 GB, free: 52.72 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01019/1.317, allocations: 2.048 MB / 0.6747 GB, free: 52.58 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06531/1.383, allocations: 12.74 MB / 0.6872 GB, free: 48.5 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02409/1.407, allocations: 7.972 MB / 0.6949 GB, free: 43.93 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009167/1.408, allocations: 1.074 MB / 0.696 GB, free: 43.09 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006406/1.414, allocations: 1.389 MB / 0.6973 GB, free: 41.71 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06015/1.474, allocations: 24.1 MB / 0.7209 GB, free: 17.56 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005864/1.475, allocations: 19.89 kB / 0.7209 GB, free: 17.54 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006128/1.481, allocations: 0.5808 MB / 0.7215 GB, free: 16.97 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005986/1.482, allocations: 0.7296 MB / 0.7222 GB, free: 16.24 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04842/1.53, allocations: 22.44 MB / 0.7441 GB, free: 9.789 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1588/1.689, allocations: 72.61 MB / 0.815 GB, free: 0.6055 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03201/1.721, allocations: 30.99 MB / 0.8453 GB, free: 14.66 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009116/1.73, allocations: 4.603 MB / 0.8498 GB, free: 10.04 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03769/1.768, allocations: 15.83 MB / 0.8652 GB, free: 10.22 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.781e-05/1.768, allocations: 78.11 kB / 0.8653 GB, free: 10.13 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 7.905e-06/1.768, allocations: 0 / 0.8653 GB, free: 10.13 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03901/1.807, allocations: 15.61 MB / 0.8805 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.807, allocations: 124.7 kB / 0.8807 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008958/1.816, allocations: 5.261 MB / 0.8858 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.817, allocations: 101.7 kB / 0.8859 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.005151/1.822, allocations: 6.259 MB / 0.892 GB, free: 14.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002648/1.825, allocations: 1.673 MB / 0.8936 GB, free: 13.03 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002795/1.827, allocations: 1.599 MB / 0.8952 GB, free: 11.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.828, allocations: 309.2 kB / 0.8955 GB, free: 11.12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007144/1.835, allocations: 4.2 MB / 0.8996 GB, free: 6.918 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3528/2.187, allocations: 7.556 MB / 0.907 GB, free: 252.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.021/2.208, allocations: 12.32 MB / 0.919 GB, free: 247.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002329/2.209, allocations: 31.38 kB / 0.919 GB, free: 247.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02506/2.234, allocations: 13.39 MB / 0.9321 GB, free: 242.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/2.234, allocations: 57.52 kB / 0.9322 GB, free: 242.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002249/2.234, allocations: 112.7 kB / 0.9323 GB, free: 242.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005676/2.24, allocations: 3.096 MB / 0.9353 GB, free: 241.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006165/2.246, allocations: 1.672 MB / 0.9369 GB, free: 241.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000769/2.247, allocations: 321.9 kB / 0.9372 GB, free: 241.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008332/2.255, allocations: 1.12 MB / 0.9383 GB, free: 241.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002172/2.257, allocations: 407.8 kB / 0.9387 GB, free: 241.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01185/2.269, allocations: 5.465 MB / 0.9441 GB, free: 238.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/2.271, allocations: 0.5286 MB / 0.9446 GB, free: 238.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/2.285, allocations: 9.577 MB / 0.9539 GB, free: 233.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/2.285, allocations: 48 kB / 0.954 GB, free: 233.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/2.285, allocations: 4 kB / 0.954 GB, free: 233.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.1e-05/2.285, allocations: 22.88 kB / 0.954 GB, free: 233.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0397/2.324, allocations: 20.76 MB / 0.9743 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/2.324, allocations: 4 kB / 0.9743 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/2.328, allocations: 0.7333 MB / 0.975 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005365/2.333, allocations: 2.965 MB / 0.9779 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009316/2.334, allocations: 99.97 kB / 0.978 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004802/2.334, allocations: 122.5 kB / 0.9781 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.334, allocations: 4 kB / 0.9781 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/2.352, allocations: 14.1 MB / 0.9919 GB, free: 198.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004383/2.357, allocations: 1.4 MB / 0.9932 GB, free: 196.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00163/2.358, allocations: 81.14 kB / 0.9933 GB, free: 196.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003929/2.362, allocations: 371.6 kB / 0.9937 GB, free: 196.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007413/2.363, allocations: 311.4 kB / 0.994 GB, free: 196.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/2.363, allocations: 132 kB / 0.9941 GB, free: 196 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006184/2.37, allocations: 3.505 MB / 0.9975 GB, free: 192.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/2.37, allocations: 4 kB / 0.9975 GB, free: 192.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01342/2.383, allocations: 3.285 MB / 1.001 GB, free: 189.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02093/2.404, allocations: 14.82 MB / 1.015 GB, free: 174.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01663/2.421, allocations: 9.624 MB / 1.025 GB, free: 164.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/2.421, allocations: 0 / 1.025 GB, free: 164.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008098/2.429, allocations: 4.104 MB / 1.029 GB, free: 160.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007959/2.437, allocations: 1.273 MB / 1.03 GB, free: 159.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1329/2.569, allocations: 79.57 MB / 1.108 GB, free: 75.81 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01409/2.584, allocations: 9.109 MB / 1.116 GB, free: 66.66 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007103/2.591, allocations: 2.94 MB / 1.119 GB, free: 63.71 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007115/2.598, allocations: 4.756 MB / 1.124 GB, free: 58.96 MB / 0.67 GB Notification: Performance of SimCode: time 1.623e-06/2.598, allocations: 4 kB / 1.124 GB, free: 58.95 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6022/3.2, allocations: 181.9 MB / 1.302 GB, free: 122 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.2/27.4, allocations: 24.94 kB / 1.302 GB, free: 121.9 MB / 0.67 GB " [Timeout remaining time 632] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 34.77463288605213]