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.001502/0.001502, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001831/0.001831, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.547/1.547, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2469/0.2469, allocations: 46.9 MB / 357.4 MB, free: 10.47 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 79.86 kB / 0.4912 GB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1364, allocations: 65.99 MB / 0.5557 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02621/0.1626, allocations: 22.84 MB / 0.578 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.1753, allocations: 5.529 MB / 0.5834 GB, free: 9.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004624/0.1799, allocations: 191.4 kB / 0.5836 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3042/0.484, allocations: 9.562 MB / 0.5929 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009703/0.4937, allocations: 2.167 MB / 0.595 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006018/0.4998, allocations: 1.9 MB / 0.5969 GB, free: 3.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01803/0.5178, allocations: 14.47 MB / 0.611 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04751/0.5653, allocations: 26.2 MB / 0.6366 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02247/0.5878, allocations: 8.52 MB / 0.6449 GB, free: 0 / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01713/0.6049, allocations: 8.824 MB / 0.6535 GB, free: 7.766 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007161/0.6121, allocations: 2.102 MB / 0.6556 GB, free: 5.664 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.6224, allocations: 2.356 MB / 0.6579 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008514/0.6309, allocations: 4.333 MB / 0.6621 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01895/0.6499, allocations: 8.419 MB / 0.6703 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03888/0.6887, allocations: 28.77 MB / 0.6984 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6888, allocations: 0 / 0.6984 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6888, allocations: 4 kB / 0.6984 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0007746/0.6895, allocations: 0 / 0.6984 GB, free: 10.55 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.05798/0.7475, allocations: 19.01 MB / 0.717 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.7476, allocations: 8.031 kB / 0.717 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008203/0.7558, allocations: 2.014 MB / 0.719 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0607/0.8165, allocations: 11.49 MB / 0.7302 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02243/0.8389, allocations: 8.895 MB / 0.7389 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/0.8401, allocations: 1.063 MB / 0.7399 GB, free: 320 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00598/0.8461, allocations: 1.373 MB / 0.7413 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06877/0.9148, allocations: 23.63 MB / 0.7643 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006043/0.9154, allocations: 19.89 kB / 0.7644 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005129/0.9206, allocations: 0.5717 MB / 0.7649 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008094/0.9214, allocations: 0.6978 MB / 0.7656 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05297/0.9743, allocations: 21.73 MB / 0.7868 GB, free: 216 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7776/1.752, allocations: 72.03 MB / 0.8572 GB, free: 159.5 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02146/1.773, allocations: 28.08 MB / 0.8846 GB, free: 138.3 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007726/1.781, allocations: 4.513 MB / 0.889 GB, free: 138.2 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03333/1.814, allocations: 16.56 MB / 0.9052 GB, free: 131.3 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/1.815, allocations: 81.64 kB / 0.9052 GB, free: 131.2 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 6.222e-06/1.815, allocations: 0 / 0.9052 GB, free: 131.2 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03184/1.846, allocations: 15.69 MB / 0.9206 GB, free: 124.4 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/1.846, allocations: 122.4 kB / 0.9207 GB, free: 124.3 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007384/1.854, allocations: 5.113 MB / 0.9257 GB, free: 121.7 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0009672/1.855, allocations: 97.58 kB / 0.9258 GB, free: 121.6 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.00352/1.858, allocations: 6.101 MB / 0.9317 GB, free: 117.3 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001959/1.86, allocations: 1.668 MB / 0.9333 GB, free: 116 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002453/1.863, allocations: 1.553 MB / 0.9349 GB, free: 115.1 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/1.863, allocations: 305.1 kB / 0.9352 GB, free: 114.8 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005217/1.868, allocations: 4.149 MB / 0.9392 GB, free: 112.7 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006937/1.875, allocations: 7.271 MB / 0.9463 GB, free: 106.3 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/1.887, allocations: 11.96 MB / 0.958 GB, free: 96.06 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.739e-05/1.887, allocations: 32 kB / 0.958 GB, free: 96.03 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0205/1.908, allocations: 13.08 MB / 0.9708 GB, free: 82.93 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/1.908, allocations: 48 kB / 0.9708 GB, free: 82.88 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/1.908, allocations: 104 kB / 0.9709 GB, free: 82.78 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005268/1.913, allocations: 3.102 MB / 0.974 GB, free: 79.66 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/1.919, allocations: 1.596 MB / 0.9755 GB, free: 78.06 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006826/1.92, allocations: 338.9 kB / 0.9758 GB, free: 77.72 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006239/1.926, allocations: 1.075 MB / 0.9769 GB, free: 76.64 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.927, allocations: 384 kB / 0.9773 GB, free: 76.27 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.009581/1.937, allocations: 5.396 MB / 0.9825 GB, free: 70.86 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.938, allocations: 0.5201 MB / 0.983 GB, free: 70.33 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/1.952, allocations: 9.553 MB / 0.9924 GB, free: 60.74 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.21e-05/1.952, allocations: 48 kB / 0.9924 GB, free: 60.7 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/1.952, allocations: 0 / 0.9924 GB, free: 60.7 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-05/1.952, allocations: 23.91 kB / 0.9924 GB, free: 60.67 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03704/1.989, allocations: 20.74 MB / 1.013 GB, free: 39.95 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.989, allocations: 0 / 1.013 GB, free: 39.95 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/1.992, allocations: 0.7371 MB / 1.013 GB, free: 39.21 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005629/1.997, allocations: 2.965 MB / 1.016 GB, free: 36.23 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001032/1.998, allocations: 99.97 kB / 1.016 GB, free: 36.14 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005693/1.999, allocations: 150.4 kB / 1.017 GB, free: 35.98 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.999, allocations: 4 kB / 1.017 GB, free: 35.98 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01832/2.017, allocations: 14.19 MB / 1.03 GB, free: 21.76 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003466/2.021, allocations: 1.398 MB / 1.032 GB, free: 20.34 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009689/2.022, allocations: 80.06 kB / 1.032 GB, free: 20.26 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002759/2.025, allocations: 363.5 kB / 1.032 GB, free: 19.9 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006087/2.025, allocations: 319.4 kB / 1.033 GB, free: 19.59 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002825/2.025, allocations: 136 kB / 1.033 GB, free: 19.46 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.00431/2.03, allocations: 3.423 MB / 1.036 GB, free: 16.04 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8.1e-08/2.03, allocations: 0 / 1.036 GB, free: 16.04 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.008203/2.038, allocations: 3.23 MB / 1.039 GB, free: 12.8 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.02107/2.059, allocations: 14.92 MB / 1.054 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0208/2.08, allocations: 9.516 MB / 1.063 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/2.08, allocations: 0 / 1.063 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009765/2.09, allocations: 4.115 MB / 1.067 GB, free: 188 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007272/2.097, allocations: 1.27 MB / 1.068 GB, free: 14.95 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4647/2.562, allocations: 77.68 MB / 1.144 GB, free: 209.3 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01903/2.581, allocations: 9.01 MB / 1.153 GB, free: 204.1 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.007094/2.588, allocations: 2.87 MB / 1.156 GB, free: 202.9 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007291/2.595, allocations: 4.703 MB / 1.16 GB, free: 198.5 MB / 0.6857 GB Notification: Performance of SimCode: time 1.784e-06/2.595, allocations: 0 / 1.16 GB, free: 198.5 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2281/2.823, allocations: 180.4 MB / 1.336 GB, free: 19.98 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.18/27, allocations: 10.55 kB / 1.336 GB, free: 19.98 MB / 0.6857 GB " [Timeout remaining time 633] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 34.86232240917161]