Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.4 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.92 MB / 357.7 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 75.89 kB / 0.4917 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1249, allocations: 66.05 MB / 0.5562 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0251/0.15, allocations: 22.83 MB / 0.5785 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.1624, allocations: 5.529 MB / 0.5839 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005877/0.1683, allocations: 234.8 kB / 0.5841 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2838/0.4521, allocations: 9.558 MB / 0.5934 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008126/0.4602, allocations: 2.16 MB / 0.5955 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00565/0.4658, allocations: 1.909 MB / 0.5974 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0187/0.4845, allocations: 14.46 MB / 0.6115 GB, free: 3.004 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04353/0.5281, allocations: 26.23 MB / 0.6371 GB, free: 5.586 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02059/0.5487, allocations: 8.672 MB / 0.6456 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0163/0.565, allocations: 8.801 MB / 0.6542 GB, free: 7.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005839/0.5708, allocations: 2.098 MB / 0.6562 GB, free: 5.211 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007948/0.5787, allocations: 2.351 MB / 0.6585 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006913/0.5857, allocations: 4.34 MB / 0.6628 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01629/0.6019, allocations: 8.424 MB / 0.671 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03868/0.6406, allocations: 28.77 MB / 0.6991 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.6406, allocations: 4 kB / 0.6991 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6406, allocations: 0 / 0.6991 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0007483/0.6414, allocations: 0 / 0.6991 GB, free: 10.05 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.06175/0.7031, allocations: 19 MB / 0.7177 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.7032, allocations: 8.031 kB / 0.7177 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005222/0.7037, allocations: 381.1 kB / 0.718 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007898/0.7116, allocations: 2.02 MB / 0.72 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06152/0.7731, allocations: 11.48 MB / 0.7312 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01881/0.7919, allocations: 8.891 MB / 0.7399 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/0.7931, allocations: 1.064 MB / 0.7409 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005355/0.7984, allocations: 1.373 MB / 0.7423 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05995/0.8584, allocations: 23.63 MB / 0.7654 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004977/0.8589, allocations: 23.89 kB / 0.7654 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006325/0.8652, allocations: 0.5715 MB / 0.7659 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008436/0.866, allocations: 0.7056 MB / 0.7666 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04902/0.9151, allocations: 21.73 MB / 0.7878 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6746/1.59, allocations: 72.04 MB / 0.8582 GB, free: 128.9 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.611, allocations: 28.08 MB / 0.8856 GB, free: 107.8 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006788/1.618, allocations: 4.511 MB / 0.89 GB, free: 107.7 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02291/1.641, allocations: 16.55 MB / 0.9062 GB, free: 104.1 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/1.641, allocations: 96.19 kB / 0.9063 GB, free: 104.1 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 5.851e-06/1.641, allocations: 4 kB / 0.9063 GB, free: 104.1 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03159/1.673, allocations: 15.67 MB / 0.9216 GB, free: 98.25 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/1.673, allocations: 122.8 kB / 0.9217 GB, free: 98.16 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00703/1.68, allocations: 5.111 MB / 0.9267 GB, free: 95.55 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0009669/1.681, allocations: 104.1 kB / 0.9268 GB, free: 95.46 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003105/1.684, allocations: 6.104 MB / 0.9328 GB, free: 91.14 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001882/1.686, allocations: 1.665 MB / 0.9344 GB, free: 89.83 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/1.688, allocations: 1.557 MB / 0.9359 GB, free: 88.96 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.019e-05/1.688, allocations: 308 kB / 0.9362 GB, free: 88.66 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006108/1.694, allocations: 4.152 MB / 0.9402 GB, free: 86.47 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006907/1.701, allocations: 7.265 MB / 0.9473 GB, free: 80.12 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/1.713, allocations: 11.96 MB / 0.959 GB, free: 70.28 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.09e-05/1.713, allocations: 28 kB / 0.959 GB, free: 70.25 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01716/1.73, allocations: 13.09 MB / 0.9718 GB, free: 57.78 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/1.73, allocations: 48 kB / 0.9719 GB, free: 57.73 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/1.73, allocations: 104 kB / 0.972 GB, free: 57.63 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005283/1.736, allocations: 3.091 MB / 0.975 GB, free: 54.53 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004877/1.74, allocations: 1.596 MB / 0.9765 GB, free: 53.05 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006482/1.741, allocations: 341.5 kB / 0.9769 GB, free: 52.75 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005197/1.746, allocations: 1.071 MB / 0.9779 GB, free: 51.67 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008175/1.747, allocations: 387.9 kB / 0.9783 GB, free: 51.29 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.007437/1.755, allocations: 5.396 MB / 0.9836 GB, free: 46 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.756, allocations: 0.5201 MB / 0.9841 GB, free: 45.47 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/1.768, allocations: 9.55 MB / 0.9934 GB, free: 35.9 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/1.768, allocations: 48 kB / 0.9934 GB, free: 35.86 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.768, allocations: 0 / 0.9934 GB, free: 35.86 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.872e-05/1.769, allocations: 19.92 kB / 0.9935 GB, free: 35.84 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03034/1.799, allocations: 20.75 MB / 1.014 GB, free: 15.14 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.799, allocations: 0 / 1.014 GB, free: 15.14 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/1.802, allocations: 0.7372 MB / 1.014 GB, free: 14.44 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005127/1.807, allocations: 2.969 MB / 1.017 GB, free: 11.46 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007306/1.808, allocations: 106.3 kB / 1.017 GB, free: 11.36 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005828/1.808, allocations: 150.4 kB / 1.018 GB, free: 11.21 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.808, allocations: 3.938 kB / 1.018 GB, free: 11.2 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/1.828, allocations: 14.18 MB / 1.031 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003619/1.832, allocations: 1.395 MB / 1.033 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.833, allocations: 76 kB / 1.033 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003247/1.836, allocations: 367.5 kB / 1.033 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007984/1.837, allocations: 315.4 kB / 1.034 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/1.837, allocations: 139.9 kB / 1.034 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005785/1.843, allocations: 3.426 MB / 1.037 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/1.843, allocations: 2.625 kB / 1.037 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009882/1.853, allocations: 3.234 MB / 1.04 GB, free: 4.051 MB / 0.6544 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.02655/1.879, allocations: 14.9 MB / 1.055 GB, free: 5.172 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02058/1.9, allocations: 9.522 MB / 1.064 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.9, allocations: 0 / 1.064 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.01044/1.91, allocations: 4.119 MB / 1.068 GB, free: 7.875 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009018/1.919, allocations: 1.262 MB / 1.069 GB, free: 6.648 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.415/2.335, allocations: 77.68 MB / 1.145 GB, free: 246.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01185/2.346, allocations: 9.012 MB / 1.154 GB, free: 243 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006574/2.353, allocations: 2.87 MB / 1.157 GB, free: 241.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009458/2.362, allocations: 4.7 MB / 1.161 GB, free: 237.4 MB / 0.7169 GB Notification: Performance of SimCode: time 3.516e-06/2.362, allocations: 0 / 1.161 GB, free: 237.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.216/2.578, allocations: 180.4 MB / 1.338 GB, free: 63.53 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/25.71, allocations: 3.984 kB / 1.338 GB, free: 63.53 MB / 0.7169 GB " [Timeout remaining time 634] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 35.07792722899467]