Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.0009316/0.0009316, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001111/0.001111, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9284/0.9284, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2691/0.2691, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.597e-06/3.597e-06, allocations: 3.938 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.542e-05, allocations: 3.406 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.215/0.215, allocations: 19.55 MB / 459.1 MB, free: 35.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.2258, allocations: 5.398 MB / 464.5 MB, free: 31.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006199/0.232, allocations: 232.8 kB / 464.8 MB, free: 31.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.2421, allocations: 9.371 MB / 474.1 MB, free: 25.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00802/0.2501, allocations: 2.235 MB / 476.4 MB, free: 24.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004688/0.2548, allocations: 1.885 MB / 478.2 MB, free: 23.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0125/0.2673, allocations: 15.02 MB / 493.3 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03498/0.3023, allocations: 21.16 MB / 0.5024 GB, free: 3.688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0242/0.3265, allocations: 11.92 MB / 0.514 GB, free: 13.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01491/0.3414, allocations: 7.872 MB / 0.5217 GB, free: 6.215 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005756/0.3471, allocations: 2.098 MB / 0.5237 GB, free: 4.117 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009384/0.3565, allocations: 2.355 MB / 0.526 GB, free: 1.758 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00844/0.365, allocations: 4.418 MB / 0.5304 GB, free: 13.33 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01199/0.377, allocations: 5.669 MB / 0.5359 GB, free: 7.648 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02894/0.4059, allocations: 29.09 MB / 0.5643 GB, free: 10.48 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4059, allocations: 4 kB / 0.5643 GB, free: 10.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4059, allocations: 0 / 0.5643 GB, free: 10.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008888/0.4068, allocations: 1.5 kB / 0.5643 GB, free: 10.48 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.04326/0.4501, allocations: 18.8 MB / 0.5827 GB, free: 7.566 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4501, allocations: 12.03 kB / 0.5827 GB, free: 7.555 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005987/0.4561, allocations: 2.01 MB / 0.5846 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03145/0.4875, allocations: 11.48 MB / 0.5959 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/0.5018, allocations: 9.043 MB / 0.6047 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009644/0.5028, allocations: 1.064 MB / 0.6057 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004521/0.5073, allocations: 1.368 MB / 0.6071 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0466/0.5539, allocations: 23.94 MB / 0.6304 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003516/0.5542, allocations: 23.91 kB / 0.6305 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004095/0.5583, allocations: 0.5703 MB / 0.631 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004965/0.5588, allocations: 0.7017 MB / 0.6317 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3834/0.9422, allocations: 21.66 MB / 0.6529 GB, free: 123.9 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08934/1.032, allocations: 63.38 MB / 0.7147 GB, free: 91.29 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/1.043, allocations: 11.33 MB / 0.7258 GB, free: 87.11 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005256/1.048, allocations: 4.5 MB / 0.7302 GB, free: 82.59 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01836/1.066, allocations: 14.34 MB / 0.7442 GB, free: 68.52 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/1.066, allocations: 82.11 kB / 0.7443 GB, free: 68.43 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=465): time 6.382e-06/1.066, allocations: 0 / 0.7443 GB, free: 68.43 MB / 0.5262 GB Notification: Performance of matching and sorting (n=465): time 0.02048/1.087, allocations: 15.44 MB / 0.7594 GB, free: 52.96 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/1.087, allocations: 124.7 kB / 0.7595 GB, free: 52.82 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/1.091, allocations: 5.301 MB / 0.7647 GB, free: 47.65 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005432/1.092, allocations: 97.7 kB / 0.7648 GB, free: 47.55 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/1.094, allocations: 6.079 MB / 0.7707 GB, free: 41.96 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/1.095, allocations: 1.638 MB / 0.7723 GB, free: 40.35 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/1.096, allocations: 1.536 MB / 0.7738 GB, free: 38.8 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.008e-05/1.096, allocations: 313.1 kB / 0.7741 GB, free: 38.5 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003583/1.1, allocations: 4.148 MB / 0.7781 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004176/1.104, allocations: 7.274 MB / 0.7852 GB, free: 25.62 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008753/1.113, allocations: 11.95 MB / 0.7969 GB, free: 12.21 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.183e-05/1.113, allocations: 28 kB / 0.7969 GB, free: 12.18 MB / 0.5262 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01419/1.127, allocations: 13.09 MB / 0.8097 GB, free: 15.07 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/1.127, allocations: 49.56 kB / 0.8098 GB, free: 15.03 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/1.127, allocations: 104 kB / 0.8099 GB, free: 14.93 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00416/1.131, allocations: 3.097 MB / 0.8129 GB, free: 11.82 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/1.136, allocations: 1.595 MB / 0.8144 GB, free: 10.22 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005393/1.136, allocations: 339.2 kB / 0.8148 GB, free: 9.875 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004742/1.141, allocations: 1.071 MB / 0.8158 GB, free: 8.797 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000953/1.142, allocations: 391.9 kB / 0.8162 GB, free: 8.414 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * 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 (814): * Single equations (assignments): 811 * 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.007951/1.15, allocations: 5.39 MB / 0.8215 GB, free: 3.008 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.151, allocations: 0.5201 MB / 0.822 GB, free: 2.484 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/1.162, allocations: 9.553 MB / 0.8313 GB, free: 8.895 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-05/1.162, allocations: 48 kB / 0.8313 GB, free: 8.848 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.162, allocations: 0 / 0.8313 GB, free: 8.848 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-05/1.162, allocations: 27.89 kB / 0.8314 GB, free: 8.82 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02973/1.192, allocations: 20.09 MB / 0.851 GB, free: 4.758 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.192, allocations: 0 / 0.851 GB, free: 4.758 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/1.194, allocations: 0.7294 MB / 0.8517 GB, free: 4.027 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003996/1.198, allocations: 2.968 MB / 0.8546 GB, free: 1.047 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005577/1.198, allocations: 108 kB / 0.8547 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003279/1.199, allocations: 146.4 kB / 0.8548 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/1.199, allocations: 4 kB / 0.8548 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2275/1.426, allocations: 14.19 MB / 0.8687 GB, free: 164.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/1.429, allocations: 1.364 MB / 0.87 GB, free: 164.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004178/1.429, allocations: 86.84 kB / 0.8701 GB, free: 164.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/1.43, allocations: 362.7 kB / 0.8705 GB, free: 164.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004293/1.431, allocations: 333 kB / 0.8708 GB, free: 164.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.431, allocations: 146 kB / 0.8709 GB, free: 164.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003075/1.434, allocations: 3.42 MB / 0.8743 GB, free: 163.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/1.434, allocations: 1.5 kB / 0.8743 GB, free: 163.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005692/1.44, allocations: 3.239 MB / 0.8774 GB, free: 162.7 MB / 0.573 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.01381/1.454, allocations: 14.9 MB / 0.892 GB, free: 156.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01242/1.466, allocations: 9.512 MB / 0.9013 GB, free: 153.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.466, allocations: 0 / 0.9013 GB, free: 153.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005564/1.472, allocations: 4.116 MB / 0.9053 GB, free: 152.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/1.476, allocations: 1.27 MB / 0.9065 GB, free: 151.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07577/1.551, allocations: 77.94 MB / 0.9826 GB, free: 84.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005071/1.557, allocations: 8.629 MB / 0.9911 GB, free: 76.29 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003761/1.56, allocations: 2.869 MB / 0.9939 GB, free: 73.41 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002919/1.563, allocations: 4.702 MB / 0.9985 GB, free: 68.71 MB / 0.573 GB Notification: Performance of SimCode: time 1.292e-06/1.563, allocations: 0 / 0.9985 GB, free: 68.71 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3589/1.922, allocations: 175.1 MB / 1.169 GB, free: 129.2 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/14.57, allocations: 9.469 kB / 1.169 GB, free: 129.1 MB / 0.5887 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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: 19.252068465575576]