Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00197/0.00197, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.002344/0.002344, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.562/1.562, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 46.92 MB / 357.8 MB, free: 10.36 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.91 kB / 0.4916 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1353, allocations: 66 MB / 0.5561 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02703/0.1623, allocations: 22.82 MB / 0.5784 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.1768, allocations: 5.529 MB / 0.5838 GB, free: 9.402 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006542/0.1834, allocations: 234.8 kB / 0.584 GB, free: 9.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3223/0.5057, allocations: 9.557 MB / 0.5933 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008226/0.5139, allocations: 2.16 MB / 0.5954 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005604/0.5195, allocations: 1.907 MB / 0.5973 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01934/0.5389, allocations: 14.47 MB / 0.6114 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04263/0.5815, allocations: 26.22 MB / 0.637 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02121/0.6027, allocations: 8.705 MB / 0.6455 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01567/0.6184, allocations: 8.8 MB / 0.6541 GB, free: 7.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005582/0.624, allocations: 2.098 MB / 0.6562 GB, free: 5.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008245/0.6322, allocations: 2.35 MB / 0.6585 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007834/0.64, allocations: 4.335 MB / 0.6627 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02196/0.662, allocations: 8.432 MB / 0.6709 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0485/0.7105, allocations: 28.77 MB / 0.699 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.7105, allocations: 0 / 0.699 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7105, allocations: 0 / 0.699 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001147/0.7117, allocations: 0 / 0.699 GB, free: 10.36 MB / 0.5137 GB 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.06525/0.7769, allocations: 19 MB / 0.7176 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.777, allocations: 12.03 kB / 0.7176 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005455/0.7775, allocations: 383.4 kB / 0.718 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007631/0.7851, allocations: 2.01 MB / 0.7199 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06383/0.849, allocations: 11.49 MB / 0.7311 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0224/0.8714, allocations: 8.894 MB / 0.7398 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001428/0.8728, allocations: 1.055 MB / 0.7409 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00636/0.8792, allocations: 1.384 MB / 0.7422 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07216/0.9513, allocations: 23.63 MB / 0.7653 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005251/0.9518, allocations: 19.89 kB / 0.7653 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007295/0.9591, allocations: 0.573 MB / 0.7659 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001423/0.9606, allocations: 0.6978 MB / 0.7665 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05506/1.016, allocations: 21.74 MB / 0.7878 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6835/1.699, allocations: 72.04 MB / 0.8581 GB, free: 160.5 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02457/1.724, allocations: 28.08 MB / 0.8855 GB, free: 139.3 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008207/1.732, allocations: 4.509 MB / 0.8899 GB, free: 139.3 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03383/1.766, allocations: 16.55 MB / 0.9061 GB, free: 132.2 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.064e-05/1.766, allocations: 82.55 kB / 0.9062 GB, free: 132.1 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 9.197e-06/1.766, allocations: 4 kB / 0.9062 GB, free: 132.1 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.04/1.806, allocations: 15.68 MB / 0.9215 GB, free: 124.5 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/1.806, allocations: 126.1 kB / 0.9216 GB, free: 124.4 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009651/1.816, allocations: 5.117 MB / 0.9266 GB, free: 121.8 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001069/1.817, allocations: 95.98 kB / 0.9267 GB, free: 121.7 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.004472/1.821, allocations: 6.105 MB / 0.9327 GB, free: 117.4 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002805/1.824, allocations: 1.665 MB / 0.9343 GB, free: 116 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005324/1.829, allocations: 1.557 MB / 0.9358 GB, free: 115.2 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.831e-05/1.829, allocations: 305.1 kB / 0.9361 GB, free: 114.9 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006552/1.836, allocations: 4.154 MB / 0.9402 GB, free: 112.7 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008582/1.844, allocations: 7.266 MB / 0.9473 GB, free: 106.3 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/1.86, allocations: 11.95 MB / 0.9589 GB, free: 95.41 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001438/1.86, allocations: 36 kB / 0.959 GB, free: 95.37 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02677/1.887, allocations: 13.09 MB / 0.9717 GB, free: 82.27 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.887, allocations: 48 kB / 0.9718 GB, free: 82.22 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/1.887, allocations: 107.9 kB / 0.9719 GB, free: 82.11 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/1.894, allocations: 3.098 MB / 0.9749 GB, free: 79 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006137/1.9, allocations: 1.603 MB / 0.9765 GB, free: 77.39 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009914/1.901, allocations: 335 kB / 0.9768 GB, free: 77.06 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007724/1.908, allocations: 1.071 MB / 0.9778 GB, free: 75.98 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/1.91, allocations: 388 kB / 0.9782 GB, free: 75.6 MB / 0.6388 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.0118/1.922, allocations: 5.389 MB / 0.9835 GB, free: 70.2 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/1.924, allocations: 0.5201 MB / 0.984 GB, free: 69.68 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/1.942, allocations: 9.553 MB / 0.9933 GB, free: 60.09 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/1.942, allocations: 44 kB / 0.9934 GB, free: 60.05 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/1.943, allocations: 0 / 0.9934 GB, free: 60.05 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.539e-05/1.943, allocations: 35.78 kB / 0.9934 GB, free: 60.01 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03714/1.98, allocations: 20.74 MB / 1.014 GB, free: 39.29 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/1.98, allocations: 0 / 1.014 GB, free: 39.29 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/1.983, allocations: 0.741 MB / 1.014 GB, free: 38.55 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005732/1.989, allocations: 2.961 MB / 1.017 GB, free: 35.57 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007903/1.989, allocations: 112 kB / 1.017 GB, free: 35.46 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006081/1.99, allocations: 142.4 kB / 1.018 GB, free: 35.32 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.99, allocations: 4 kB / 1.018 GB, free: 35.31 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/2.009, allocations: 14.18 MB / 1.031 GB, free: 21.1 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003939/2.013, allocations: 1.394 MB / 1.033 GB, free: 19.68 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/2.015, allocations: 80 kB / 1.033 GB, free: 19.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003534/2.018, allocations: 359.5 kB / 1.033 GB, free: 19.25 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008856/2.019, allocations: 331.3 kB / 1.033 GB, free: 18.93 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003382/2.019, allocations: 140 kB / 1.034 GB, free: 18.79 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.005537/2.025, allocations: 3.423 MB / 1.037 GB, free: 15.37 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.1e-07/2.025, allocations: 0 / 1.037 GB, free: 15.37 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01051/2.036, allocations: 3.234 MB / 1.04 GB, free: 12.12 MB / 0.6388 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.02267/2.058, allocations: 14.9 MB / 1.055 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02067/2.079, allocations: 9.516 MB / 1.064 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/2.079, allocations: 0 / 1.064 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01152/2.09, allocations: 4.117 MB / 1.068 GB, free: 15.52 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008536/2.099, allocations: 1.274 MB / 1.069 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4232/2.522, allocations: 77.69 MB / 1.145 GB, free: 208.7 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01111/2.533, allocations: 9 MB / 1.154 GB, free: 203.5 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.005938/2.539, allocations: 2.87 MB / 1.157 GB, free: 202.3 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005533/2.545, allocations: 4.699 MB / 1.161 GB, free: 197.9 MB / 0.6857 GB Notification: Performance of SimCode: time 1.383e-06/2.545, allocations: 4 kB / 1.161 GB, free: 197.9 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2178/2.763, allocations: 180.5 MB / 1.337 GB, free: 19.39 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.14/26.9, allocations: 11.14 kB / 1.338 GB, free: 19.38 MB / 0.6857 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 36.66783842199948]