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.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.0008258/0.0008258, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.000786/0.000786, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9013/0.9013, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1277/0.1277, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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.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(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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.919e-05, allocations: 10.02 kB / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.01493/0.01495, allocations: 19.66 MB / 426.5 MB, free: 14.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009633/0.02458, allocations: 5.408 MB / 431.9 MB, free: 9.039 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/0.02776, allocations: 198.9 kB / 432.1 MB, free: 8.844 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009666/0.03743, allocations: 9.383 MB / 441.5 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00591/0.04334, allocations: 2.33 MB / 443.8 MB, free: 13.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.0463, allocations: 1.881 MB / 445.7 MB, free: 11.2 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0108/0.05711, allocations: 15.22 MB / 460.9 MB, free: 11.91 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3386/0.3957, allocations: 21.21 MB / 482.1 MB, free: 46.72 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.4076, allocations: 12.04 MB / 494.2 MB, free: 46.72 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009474/0.4171, allocations: 7.987 MB / 0.4904 GB, free: 46.27 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003212/0.4203, allocations: 2.113 MB / 0.4925 GB, free: 46.27 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.4235, allocations: 2.341 MB / 0.4948 GB, free: 46.23 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.4257, allocations: 4.493 MB / 0.4991 GB, free: 44.02 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007336/0.433, allocations: 5.741 MB / 0.5047 GB, free: 41.88 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01921/0.4522, allocations: 29.1 MB / 0.5332 GB, free: 28.65 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.4523, allocations: 6.281 kB / 0.5332 GB, free: 28.65 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4523, allocations: 0 / 0.5332 GB, free: 28.65 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0005504/0.4528, allocations: 0 / 0.5332 GB, free: 28.65 MB / 442.8 MB 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.03542/0.4882, allocations: 19.03 MB / 0.5518 GB, free: 14.67 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4883, allocations: 8.031 kB / 0.5518 GB, free: 14.66 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002836/0.4911, allocations: 2.047 MB / 0.5538 GB, free: 12.61 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02891/0.52, allocations: 12.74 MB / 0.5662 GB, free: 15.99 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0158/0.5358, allocations: 8.12 MB / 0.5741 GB, free: 8.215 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000632/0.5364, allocations: 1.07 MB / 0.5752 GB, free: 7.152 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004224/0.5407, allocations: 1.398 MB / 0.5765 GB, free: 5.77 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03945/0.5801, allocations: 24.4 MB / 0.6004 GB, free: 13.24 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/0.5803, allocations: 23.88 kB / 0.6004 GB, free: 13.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.5814, allocations: 0.5763 MB / 0.601 GB, free: 12.65 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007034/0.5821, allocations: 0.7335 MB / 0.6017 GB, free: 11.92 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03311/0.6152, allocations: 22.36 MB / 0.6235 GB, free: 5.551 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2895/0.9047, allocations: 64.29 MB / 0.6863 GB, free: 96.39 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.9149, allocations: 11.99 MB / 0.698 GB, free: 95.99 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004061/0.919, allocations: 4.593 MB / 0.7025 GB, free: 95.91 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/0.9356, allocations: 14.35 MB / 0.7165 GB, free: 92.25 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.9356, allocations: 85.52 kB / 0.7166 GB, free: 92.18 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=465): time 6.011e-06/0.9356, allocations: 3.438 kB / 0.7166 GB, free: 92.18 MB / 0.5262 GB Notification: Performance of matching and sorting (n=465): time 0.01967/0.9553, allocations: 15.36 MB / 0.7316 GB, free: 87.57 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.9553, allocations: 122.7 kB / 0.7317 GB, free: 87.48 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004617/0.96, allocations: 5.455 MB / 0.737 GB, free: 85.56 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.9602, allocations: 104.6 kB / 0.7371 GB, free: 85.47 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.9619, allocations: 6.236 MB / 0.7432 GB, free: 80.43 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006628/0.9625, allocations: 1.651 MB / 0.7448 GB, free: 79.02 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.9639, allocations: 1.585 MB / 0.7464 GB, free: 78.13 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.31e-05/0.964, allocations: 309.1 kB / 0.7467 GB, free: 77.82 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/0.9672, allocations: 4.201 MB / 0.7508 GB, free: 75.62 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003988/0.9712, allocations: 7.56 MB / 0.7582 GB, free: 68.99 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007909/0.9791, allocations: 12.31 MB / 0.7702 GB, free: 60.05 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.623e-05/0.9791, allocations: 35.38 kB / 0.7702 GB, free: 60.05 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01169/0.9908, allocations: 13.39 MB / 0.7833 GB, free: 49.88 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.9909, allocations: 52 kB / 0.7833 GB, free: 49.83 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.814e-05/0.9909, allocations: 112 kB / 0.7834 GB, free: 49.72 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003238/0.9942, allocations: 3.103 MB / 0.7865 GB, free: 46.62 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.9968, allocations: 1.67 MB / 0.7881 GB, free: 45.07 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002845/0.9971, allocations: 326.3 kB / 0.7884 GB, free: 44.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/1.001, allocations: 1.126 MB / 0.7895 GB, free: 43.66 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/1.001, allocations: 404 kB / 0.7899 GB, free: 43.26 MB / 0.5262 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.007209/1.008, allocations: 5.461 MB / 0.7952 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007429/1.009, allocations: 0.5356 MB / 0.7958 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008377/1.017, allocations: 9.579 MB / 0.8051 GB, free: 27.78 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/1.017, allocations: 44 kB / 0.8052 GB, free: 27.74 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.017, allocations: 4 kB / 0.8052 GB, free: 27.73 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/1.017, allocations: 27.84 kB / 0.8052 GB, free: 27.71 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.038, allocations: 20.11 MB / 0.8248 GB, free: 7.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.038, allocations: 0 / 0.8248 GB, free: 7.66 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/1.039, allocations: 0.7319 MB / 0.8255 GB, free: 6.965 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003126/1.042, allocations: 2.964 MB / 0.8284 GB, free: 3.988 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002137/1.043, allocations: 95.98 kB / 0.8285 GB, free: 3.895 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00024/1.043, allocations: 130.5 kB / 0.8286 GB, free: 3.758 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.043, allocations: 11.91 kB / 0.8287 GB, free: 3.746 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/1.056, allocations: 14.09 MB / 0.8424 GB, free: 5.637 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/1.059, allocations: 1.376 MB / 0.8438 GB, free: 4.254 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005274/1.059, allocations: 83.94 kB / 0.8438 GB, free: 4.172 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.061, allocations: 363.6 kB / 0.8442 GB, free: 3.816 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004513/1.061, allocations: 331.2 kB / 0.8445 GB, free: 3.492 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.061, allocations: 139.4 kB / 0.8446 GB, free: 3.359 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.003905/1.065, allocations: 3.501 MB / 0.8481 GB, free: 15.87 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.21e-07/1.065, allocations: 0 / 0.8481 GB, free: 15.87 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.006148/1.071, allocations: 3.281 MB / 0.8513 GB, free: 12.57 MB / 0.5574 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.01389/1.085, allocations: 14.82 MB / 0.8657 GB, free: 13.76 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01127/1.096, allocations: 9.616 MB / 0.8751 GB, free: 4.473 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.096, allocations: 0 / 0.8751 GB, free: 4.473 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004409/1.101, allocations: 4.115 MB / 0.8791 GB, free: 416 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1773/1.278, allocations: 1.265 MB / 0.8804 GB, free: 200.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07791/1.356, allocations: 79.82 MB / 0.9583 GB, free: 160.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005904/1.362, allocations: 8.734 MB / 0.9669 GB, free: 153.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00394/1.366, allocations: 2.948 MB / 0.9697 GB, free: 150.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003141/1.369, allocations: 4.757 MB / 0.9744 GB, free: 145.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.593e-06/1.369, allocations: 0 / 0.9744 GB, free: 145.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3362/1.705, allocations: 176.1 MB / 1.146 GB, free: 163.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/14.2, allocations: 4.703 kB / 1.146 GB, free: 163.7 MB / 0.573 GB " [Timeout remaining time 646] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 18.81897518504411]