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.001284/0.001284, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001635/0.001635, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.2234/0.2234, allocations: 46.92 MB / 360.8 MB, free: 4.25 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.002472/0.002472, allocations: 79.86 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3143, allocations: 66.08 MB / 0.5607 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02633/0.3406, allocations: 22.86 MB / 0.5831 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.3535, allocations: 5.549 MB / 0.5885 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004467/0.3579, allocations: 230.8 kB / 0.5887 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02265/0.3806, allocations: 9.585 MB / 0.5981 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008407/0.389, allocations: 2.214 MB / 0.6002 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005599/0.3946, allocations: 1.933 MB / 0.6021 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02158/0.4162, allocations: 14.54 MB / 0.6163 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04346/0.4596, allocations: 21.29 MB / 0.6371 GB, free: 5.535 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01391/0.4735, allocations: 8.16 MB / 0.6451 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01515/0.4887, allocations: 8.799 MB / 0.6537 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005951/0.4946, allocations: 2.098 MB / 0.6557 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008091/0.5027, allocations: 2.355 MB / 0.658 GB, free: 76 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008268/0.511, allocations: 4.337 MB / 0.6623 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01924/0.5302, allocations: 8.428 MB / 0.6705 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03961/0.5698, allocations: 28.78 MB / 0.6986 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.5699, allocations: 3.984 kB / 0.6986 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.687e-06/0.5699, allocations: 0 / 0.6986 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0009699/0.5708, allocations: 4 kB / 0.6986 GB, free: 6.387 MB / 0.5294 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.06226/0.6331, allocations: 18.93 MB / 0.7171 GB, free: 3.344 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6331, allocations: 12.03 kB / 0.7171 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007287/0.6404, allocations: 2.013 MB / 0.7191 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06217/0.7026, allocations: 11.48 MB / 0.7303 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5217/1.224, allocations: 9.047 MB / 0.7391 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009276/1.225, allocations: 1.056 MB / 0.7401 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005264/1.23, allocations: 1.374 MB / 0.7415 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05566/1.286, allocations: 23.63 MB / 0.7646 GB, free: 119.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007081/1.287, allocations: 25.28 kB / 0.7646 GB, free: 119.4 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005935/1.293, allocations: 0.5728 MB / 0.7651 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006164/1.293, allocations: 0.6978 MB / 0.7658 GB, free: 118.2 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0424/1.336, allocations: 21.74 MB / 0.7871 GB, free: 96.43 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1102/1.446, allocations: 69.74 MB / 0.8552 GB, free: 26.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/1.461, allocations: 11.41 MB / 0.8663 GB, free: 16.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005949/1.467, allocations: 4.512 MB / 0.8707 GB, free: 11.87 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02707/1.494, allocations: 15.28 MB / 0.8856 GB, free: 12.75 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.943e-05/1.494, allocations: 86.05 kB / 0.8857 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 6.533e-06/1.494, allocations: 0 / 0.8857 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03963/1.534, allocations: 15.45 MB / 0.9008 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.909e-05/1.534, allocations: 128.6 kB / 0.9009 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009873/1.544, allocations: 5.113 MB / 0.9059 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009609/1.545, allocations: 101.7 kB / 0.906 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005056/1.55, allocations: 6.093 MB / 0.912 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002515/1.553, allocations: 1.662 MB / 0.9136 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004307/1.557, allocations: 1.559 MB / 0.9151 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.557, allocations: 301.1 kB / 0.9154 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007535/1.565, allocations: 4.152 MB / 0.9194 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/1.575, allocations: 7.27 MB / 0.9265 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02/1.595, allocations: 11.96 MB / 0.9382 GB, free: 4.469 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.27e-05/1.595, allocations: 35.94 kB / 0.9383 GB, free: 4.434 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02892/1.624, allocations: 13.08 MB / 0.951 GB, free: 7.332 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/1.624, allocations: 52.06 kB / 0.9511 GB, free: 7.281 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002053/1.625, allocations: 104 kB / 0.9512 GB, free: 7.18 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007361/1.632, allocations: 3.094 MB / 0.9542 GB, free: 4.078 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006492/1.639, allocations: 1.603 MB / 0.9558 GB, free: 2.477 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/1.64, allocations: 331 kB / 0.9561 GB, free: 2.141 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006994/1.647, allocations: 1.075 MB / 0.9571 GB, free: 1.059 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/1.648, allocations: 392 kB / 0.9575 GB, free: 0.6758 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.01207/1.66, allocations: 5.394 MB / 0.9628 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001952/1.662, allocations: 0.5239 MB / 0.9633 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01985/1.682, allocations: 9.545 MB / 0.9726 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.948e-05/1.682, allocations: 47.94 kB / 0.9726 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.682, allocations: 4 kB / 0.9726 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-05/1.682, allocations: 27.84 kB / 0.9727 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3281/2.01, allocations: 20.87 MB / 0.9931 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/2.01, allocations: 3.969 kB / 0.9931 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003167/2.013, allocations: 0.7372 MB / 0.9938 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005242/2.019, allocations: 2.962 MB / 0.9967 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007213/2.019, allocations: 107.5 kB / 0.9968 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005716/2.02, allocations: 148.6 kB / 0.9969 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.02, allocations: 0 / 0.9969 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/2.038, allocations: 14.2 MB / 1.011 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003828/2.042, allocations: 1.365 MB / 1.012 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/2.043, allocations: 79.59 kB / 1.012 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/2.046, allocations: 362.8 kB / 1.013 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006385/2.047, allocations: 338.4 kB / 1.013 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002823/2.047, allocations: 134.8 kB / 1.013 GB, free: 213.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004553/2.051, allocations: 3.425 MB / 1.016 GB, free: 212 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.1e-08/2.051, allocations: 0 / 1.016 GB, free: 212 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008307/2.06, allocations: 3.232 MB / 1.019 GB, free: 211.4 MB / 0.67 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.01951/2.079, allocations: 14.91 MB / 1.034 GB, free: 205.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01486/2.094, allocations: 9.514 MB / 1.043 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/2.094, allocations: 4 kB / 1.043 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008036/2.102, allocations: 4.103 MB / 1.047 GB, free: 194.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00749/2.11, allocations: 1.276 MB / 1.049 GB, free: 193.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1037/2.213, allocations: 77.92 MB / 1.125 GB, free: 112.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009774/2.223, allocations: 9.006 MB / 1.133 GB, free: 103.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006111/2.229, allocations: 2.869 MB / 1.136 GB, free: 100.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005475/2.235, allocations: 4.697 MB / 1.141 GB, free: 95.55 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/2.235, allocations: 4 kB / 1.141 GB, free: 95.54 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5073/2.742, allocations: 184.2 MB / 1.321 GB, free: 181.6 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.79/28.53, allocations: 11.66 kB / 1.321 GB, free: 181.6 MB / 0.6857 GB " [Timeout remaining time 631] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 35.61039111809805]