Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009534, allocations: 109.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009471/0.0009472, allocations: 183.1 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1775/0.1775, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2509, allocations: 60.81 MB / 0.5184 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01888/0.2698, allocations: 22.73 MB / 0.5406 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.2799, allocations: 5.462 MB / 0.5459 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002668/0.2826, allocations: 192.8 kB / 0.5461 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01764/0.3003, allocations: 9.478 MB / 0.5554 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006985/0.3073, allocations: 2.303 MB / 0.5576 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003962/0.3113, allocations: 1.692 MB / 0.5593 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01468/0.326, allocations: 14.48 MB / 0.5734 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04073/0.3667, allocations: 34.29 MB / 0.6069 GB, free: 1.289 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008948/0.3757, allocations: 7.964 MB / 0.6147 GB, free: 9.305 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.3868, allocations: 8.721 MB / 0.6232 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003759/0.3906, allocations: 2.102 MB / 0.6253 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005416/0.396, allocations: 2.336 MB / 0.6275 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00469/0.4007, allocations: 4.314 MB / 0.6318 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.4108, allocations: 8.432 MB / 0.64 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02272/0.4335, allocations: 28.69 MB / 0.668 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4336, allocations: 0 / 0.668 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4336, allocations: 0 / 0.668 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005533/0.4342, allocations: 0 / 0.668 GB, free: 2.559 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.04651/0.4807, allocations: 18.68 MB / 0.6862 GB, free: 15.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4807, allocations: 8.031 kB / 0.6863 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003363/0.4841, allocations: 2.013 MB / 0.6882 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05463/0.5387, allocations: 11.69 MB / 0.6996 GB, free: 2.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/0.5551, allocations: 8.843 MB / 0.7083 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006658/0.5557, allocations: 1.063 MB / 0.7093 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002743/0.5585, allocations: 1.367 MB / 0.7106 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3854/0.9439, allocations: 23.58 MB / 0.7337 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002425/0.9442, allocations: 20.56 kB / 0.7337 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001233/0.9454, allocations: 0.5679 MB / 0.7342 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005259/0.9459, allocations: 0.7001 MB / 0.7349 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03014/0.9761, allocations: 21.68 MB / 0.7561 GB, free: 131.6 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07054/1.047, allocations: 70.85 MB / 0.8253 GB, free: 59.69 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/1.062, allocations: 28.65 MB / 0.8533 GB, free: 28.35 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00537/1.067, allocations: 4.965 MB / 0.8581 GB, free: 23.36 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/1.088, allocations: 15.66 MB / 0.8734 GB, free: 7.547 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.088, allocations: 86.11 kB / 0.8735 GB, free: 7.453 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 6.122e-06/1.088, allocations: 0 / 0.8735 GB, free: 7.453 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03125/1.119, allocations: 15.7 MB / 0.8888 GB, free: 7.672 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/1.119, allocations: 124.7 kB / 0.889 GB, free: 7.531 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006355/1.126, allocations: 5.113 MB / 0.8939 GB, free: 2.414 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0003398/1.126, allocations: 97.7 kB / 0.894 GB, free: 2.312 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003245/1.129, allocations: 5.889 MB / 0.8998 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.131, allocations: 1.583 MB / 0.9013 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002035/1.133, allocations: 1.531 MB / 0.9028 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/1.133, allocations: 309.1 kB / 0.9031 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005701/1.139, allocations: 4.144 MB / 0.9072 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007262/1.146, allocations: 7.258 MB / 0.9143 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/1.16, allocations: 11.93 MB / 0.9259 GB, free: 14.65 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.613e-05/1.16, allocations: 36 kB / 0.9259 GB, free: 14.62 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01798/1.178, allocations: 13.1 MB / 0.9387 GB, free: 1.488 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 6.371e-05/1.178, allocations: 48 kB / 0.9388 GB, free: 1.441 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-05/1.178, allocations: 104 kB / 0.9389 GB, free: 1.34 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005804/1.184, allocations: 3.095 MB / 0.9419 GB, free: 14.24 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004737/1.188, allocations: 1.599 MB / 0.9435 GB, free: 12.64 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006426/1.189, allocations: 331 kB / 0.9438 GB, free: 12.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/1.194, allocations: 1.061 MB / 0.9448 GB, free: 11.23 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005349/1.194, allocations: 384 kB / 0.9452 GB, free: 10.86 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.007104/1.201, allocations: 5.394 MB / 0.9505 GB, free: 5.445 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008776/1.202, allocations: 0.4899 MB / 0.9509 GB, free: 4.949 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.216, allocations: 9.635 MB / 0.9603 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/1.216, allocations: 48 kB / 0.9604 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.216, allocations: 0 / 0.9604 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.468e-05/1.216, allocations: 23.91 kB / 0.9604 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2288/1.445, allocations: 20.75 MB / 0.9807 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.445, allocations: 1.094 kB / 0.9807 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/1.448, allocations: 0.7325 MB / 0.9814 GB, free: 222.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005169/1.453, allocations: 2.968 MB / 0.9843 GB, free: 222.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/1.453, allocations: 98.36 kB / 0.9844 GB, free: 222 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005878/1.454, allocations: 147.3 kB / 0.9845 GB, free: 222 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.454, allocations: 0 / 0.9845 GB, free: 222 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01543/1.469, allocations: 14.21 MB / 0.9984 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002504/1.472, allocations: 1.357 MB / 0.9997 GB, free: 216.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005497/1.472, allocations: 87.41 kB / 0.9998 GB, free: 216.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/1.475, allocations: 365.9 kB / 1 GB, free: 216.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005741/1.475, allocations: 314.1 kB / 1 GB, free: 216.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002609/1.476, allocations: 137.5 kB / 1.001 GB, free: 216 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003569/1.479, allocations: 3.419 MB / 1.004 GB, free: 214.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.42e-07/1.479, allocations: 1.281 kB / 1.004 GB, free: 214.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005732/1.485, allocations: 3.187 MB / 1.007 GB, free: 213.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.01551/1.5, allocations: 14.93 MB / 1.022 GB, free: 206.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.513, allocations: 9.908 MB / 1.031 GB, free: 198.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.513, allocations: 4 kB / 1.031 GB, free: 198.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006013/1.519, allocations: 4.44 MB / 1.036 GB, free: 194.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004751/1.523, allocations: 1.28 MB / 1.037 GB, free: 193.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07766/1.601, allocations: 77.38 MB / 1.112 GB, free: 113.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005979/1.607, allocations: 9.01 MB / 1.121 GB, free: 104.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004834/1.612, allocations: 2.869 MB / 1.124 GB, free: 101.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00375/1.616, allocations: 4.674 MB / 1.129 GB, free: 96.55 MB / 0.6544 GB Notification: Performance of SimCode: time 1.263e-06/1.616, allocations: 0 / 1.129 GB, free: 96.55 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.771/3.387, allocations: 178.6 MB / 1.303 GB, free: 160.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.79/28.17, allocations: 14.66 kB / 1.303 GB, free: 160 MB / 0.6544 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches