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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001657, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001961, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 75.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2878, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02393/0.3118, allocations: 22.75 MB / 0.5528 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.324, allocations: 5.518 MB / 0.5582 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004025/0.3281, allocations: 195.4 kB / 0.5584 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02044/0.3486, allocations: 9.491 MB / 0.5677 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008241/0.3568, allocations: 2.14 MB / 0.5698 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005366/0.3622, allocations: 1.899 MB / 0.5716 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01773/0.38, allocations: 14.47 MB / 0.5857 GB, free: 9.078 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04667/0.4267, allocations: 34.28 MB / 0.6192 GB, free: 6.566 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.4382, allocations: 7.964 MB / 0.627 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0139/0.4521, allocations: 8.732 MB / 0.6355 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005095/0.4573, allocations: 2.098 MB / 0.6376 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006752/0.464, allocations: 2.351 MB / 0.6399 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006202/0.4703, allocations: 4.325 MB / 0.6441 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01275/0.483, allocations: 8.432 MB / 0.6523 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03239/0.5155, allocations: 28.76 MB / 0.6804 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5155, allocations: 3.938 kB / 0.6804 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5155, allocations: 0 / 0.6804 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006347/0.5162, allocations: 4 kB / 0.6804 GB, free: 7.711 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.0546/0.5708, allocations: 19.01 MB / 0.699 GB, free: 4.582 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.5708, allocations: 16.03 kB / 0.699 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006033/0.5769, allocations: 2.013 MB / 0.701 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06494/0.6418, allocations: 11.48 MB / 0.7122 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4229/1.065, allocations: 8.892 MB / 0.7209 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007878/1.066, allocations: 1.06 MB / 0.7219 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003903/1.07, allocations: 1.371 MB / 0.7232 GB, free: 141.7 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04286/1.112, allocations: 23.63 MB / 0.7463 GB, free: 132.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003014/1.113, allocations: 18.52 kB / 0.7463 GB, free: 132.5 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002188/1.115, allocations: 0.5697 MB / 0.7469 GB, free: 132.1 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004135/1.115, allocations: 0.6976 MB / 0.7476 GB, free: 131.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03281/1.148, allocations: 21.74 MB / 0.7688 GB, free: 110.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08559/1.234, allocations: 72.05 MB / 0.8392 GB, free: 37.69 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/1.251, allocations: 28.7 MB / 0.8672 GB, free: 6.312 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005581/1.256, allocations: 4.962 MB / 0.872 GB, free: 1.328 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02469/1.281, allocations: 16.55 MB / 0.8882 GB, free: 0.5352 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/1.281, allocations: 82.09 kB / 0.8883 GB, free: 456 kB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 5.771e-06/1.281, allocations: 0 / 0.8883 GB, free: 456 kB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03606/1.317, allocations: 15.76 MB / 0.9037 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/1.317, allocations: 128.7 kB / 0.9038 GB, free: 468 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007016/1.324, allocations: 5.117 MB / 0.9088 GB, free: 11.4 MB / 0.6076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003659/1.325, allocations: 97.7 kB / 0.9089 GB, free: 11.3 MB / 0.6076 GB Notification: Performance of collectInitialEqns (initialization): time 0.003927/1.328, allocations: 6.104 MB / 0.9148 GB, free: 5.711 MB / 0.6076 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.33, allocations: 1.658 MB / 0.9165 GB, free: 4.039 MB / 0.6076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002216/1.332, allocations: 1.555 MB / 0.918 GB, free: 2.477 MB / 0.6076 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.332, allocations: 305.1 kB / 0.9183 GB, free: 2.176 MB / 0.6076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006107/1.338, allocations: 4.148 MB / 0.9223 GB, free: 14.02 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008811/1.347, allocations: 7.279 MB / 0.9294 GB, free: 5.301 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/1.364, allocations: 11.95 MB / 0.9411 GB, free: 7.887 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.215e-05/1.364, allocations: 35.94 kB / 0.9411 GB, free: 7.852 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02176/1.386, allocations: 13.16 MB / 0.954 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/1.386, allocations: 48.97 kB / 0.954 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/1.386, allocations: 108 kB / 0.9541 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00651/1.393, allocations: 3.09 MB / 0.9572 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005967/1.399, allocations: 1.599 MB / 0.9587 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008211/1.399, allocations: 343 kB / 0.959 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005565/1.405, allocations: 1.075 MB / 0.9601 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/1.406, allocations: 387.9 kB / 0.9605 GB, free: 4.008 MB / 0.6544 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.2279/1.634, allocations: 5.388 MB / 0.9657 GB, free: 217 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.635, allocations: 0.5236 MB / 0.9662 GB, free: 217 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.649, allocations: 9.629 MB / 0.9756 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/1.649, allocations: 50.52 kB / 0.9757 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.649, allocations: 2.25 kB / 0.9757 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.812e-05/1.649, allocations: 22.88 kB / 0.9757 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02619/1.675, allocations: 20.83 MB / 0.996 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/1.675, allocations: 3.375 kB / 0.996 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/1.678, allocations: 0.7369 MB / 0.9968 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005013/1.683, allocations: 2.963 MB / 0.9997 GB, free: 206.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003122/1.684, allocations: 109.4 kB / 0.9998 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005719/1.684, allocations: 146.7 kB / 0.9999 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.684, allocations: 3.938 kB / 0.9999 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/1.7, allocations: 14.27 MB / 1.014 GB, free: 199.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.702, allocations: 1.39 MB / 1.015 GB, free: 198.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006529/1.703, allocations: 87.7 kB / 1.015 GB, free: 198.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/1.705, allocations: 362.7 kB / 1.016 GB, free: 197.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000611/1.706, allocations: 324.2 kB / 1.016 GB, free: 197.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/1.706, allocations: 134 kB / 1.016 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003843/1.71, allocations: 3.424 MB / 1.019 GB, free: 194.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/1.71, allocations: 0 / 1.019 GB, free: 194.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006875/1.717, allocations: 3.234 MB / 1.023 GB, free: 191.9 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.01638/1.733, allocations: 14.99 MB / 1.037 GB, free: 176.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01261/1.746, allocations: 9.918 MB / 1.047 GB, free: 167 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.746, allocations: 4.5 kB / 1.047 GB, free: 167 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006087/1.752, allocations: 4.462 MB / 1.051 GB, free: 162.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005067/1.757, allocations: 1.268 MB / 1.052 GB, free: 161.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08566/1.843, allocations: 77.85 MB / 1.129 GB, free: 79.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006913/1.85, allocations: 9.01 MB / 1.137 GB, free: 70.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005374/1.855, allocations: 2.873 MB / 1.14 GB, free: 67.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00429/1.859, allocations: 4.697 MB / 1.145 GB, free: 63.17 MB / 0.6544 GB Notification: Performance of SimCode: time 1.182e-06/1.859, allocations: 3.938 kB / 1.145 GB, free: 63.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7388/2.598, allocations: 177.7 MB / 1.318 GB, free: 150.3 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.14/25.74, allocations: 13.36 kB / 1.318 GB, free: 150.3 MB / 0.6701 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches