Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00148/0.00148, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001789/0.001789, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 82.17 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1014, allocations: 62.44 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01752/0.119, allocations: 19.41 MB / 498.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009279/0.1283, allocations: 4.943 MB / 0.4919 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.1316, allocations: 151.5 kB / 0.4921 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01435/0.146, allocations: 7.376 MB / 0.4993 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006076/0.1521, allocations: 1.877 MB / 0.5011 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.1554, allocations: 1.32 MB / 0.5024 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2063/0.3618, allocations: 12.44 MB / 0.5146 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03046/0.3923, allocations: 21.82 MB / 0.5359 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01221/0.4045, allocations: 6.143 MB / 0.5419 GB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01082/0.4154, allocations: 6.98 MB / 0.5487 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003442/0.4189, allocations: 1.23 MB / 0.5499 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005062/0.4239, allocations: 1.421 MB / 0.5513 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003122/0.4271, allocations: 3.108 MB / 0.5543 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009845/0.4369, allocations: 6.466 MB / 0.5606 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0212/0.4582, allocations: 23.1 MB / 0.5832 GB, free: 7.844 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4582, allocations: 0 / 0.5832 GB, free: 7.844 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4582, allocations: 0 / 0.5832 GB, free: 7.844 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006071/0.4588, allocations: 4 kB / 0.5832 GB, free: 7.84 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03974/0.4986, allocations: 14.55 MB / 0.5974 GB, free: 9.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4986, allocations: 12.88 kB / 0.5974 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004965/0.5036, allocations: 1.719 MB / 0.5991 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05984/0.5635, allocations: 11.44 MB / 0.6103 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.5775, allocations: 7.083 MB / 0.6172 GB, free: 5.422 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007125/0.5783, allocations: 0.899 MB / 0.618 GB, free: 4.531 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004025/0.5823, allocations: 1.165 MB / 0.6192 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04038/0.6227, allocations: 18.56 MB / 0.6373 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003249/0.6231, allocations: 19.75 kB / 0.6373 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002705/0.6258, allocations: 498.9 kB / 0.6378 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006167/0.6264, allocations: 0.6559 MB / 0.6384 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03732/0.6637, allocations: 19.08 MB / 0.6571 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4559/1.12, allocations: 60.91 MB / 0.7166 GB, free: 134 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/1.137, allocations: 16.62 MB / 0.7328 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005682/1.143, allocations: 4.518 MB / 0.7372 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005164/1.144, allocations: 315.4 kB / 0.7375 GB, free: 126 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.765e-05/1.144, allocations: 108.6 kB / 0.7376 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 9.258e-06/1.144, allocations: 0 / 0.7376 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01598/1.16, allocations: 12.35 MB / 0.7497 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/1.16, allocations: 122.4 kB / 0.7498 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009943/1.17, allocations: 8.604 MB / 0.7582 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009559/1.171, allocations: 132 kB / 0.7583 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002467/1.173, allocations: 4.482 MB / 0.7627 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002004/1.175, allocations: 2.184 MB / 0.7648 GB, free: 113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/1.177, allocations: 1.446 MB / 0.7662 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.808e-05/1.177, allocations: 305.1 kB / 0.7665 GB, free: 112 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005081/1.182, allocations: 4.102 MB / 0.7705 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005963/1.188, allocations: 6.908 MB / 0.7773 GB, free: 104 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/1.2, allocations: 11.94 MB / 0.7889 GB, free: 95.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.519e-05/1.2, allocations: 24 kB / 0.789 GB, free: 95.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01611/1.216, allocations: 12.01 MB / 0.8007 GB, free: 82.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/1.216, allocations: 44.56 kB / 0.8007 GB, free: 82.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/1.216, allocations: 88 kB / 0.8008 GB, free: 82.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008696/1.217, allocations: 416.7 kB / 0.8012 GB, free: 82.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006241/1.223, allocations: 2.001 MB / 0.8032 GB, free: 80.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/1.228, allocations: 8.925 MB / 0.8119 GB, free: 70.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008866/1.237, allocations: 1.358 MB / 0.8132 GB, free: 69.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002288/1.24, allocations: 368 kB / 0.8135 GB, free: 68.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009151/1.249, allocations: 4.585 MB / 0.818 GB, free: 64.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001858/1.251, allocations: 0.706 MB / 0.8187 GB, free: 63.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01708/1.268, allocations: 10.6 MB / 0.8291 GB, free: 52.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/1.268, allocations: 64 kB / 0.8291 GB, free: 52.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/1.268, allocations: 7.938 kB / 0.8291 GB, free: 52.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.421e-05/1.268, allocations: 43.8 kB / 0.8292 GB, free: 52.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3776/1.646, allocations: 161.4 MB / 0.9868 GB, free: 133.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001102/1.646, allocations: 84.88 kB / 0.9869 GB, free: 133.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005044/1.651, allocations: 1.544 MB / 0.9884 GB, free: 131.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007984/1.652, allocations: 380.6 kB / 0.9888 GB, free: 131.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005372/1.652, allocations: 248 kB / 0.989 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004619/1.657, allocations: 8.791 MB / 0.9976 GB, free: 121.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.255e-05/1.657, allocations: 137.4 kB / 0.9977 GB, free: 121.5 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/1.675, allocations: 18.52 MB / 1.016 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004148/1.679, allocations: 2.019 MB / 1.018 GB, free: 99.35 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/1.681, allocations: 239.9 kB / 1.018 GB, free: 99.11 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004462/1.685, allocations: 0.5547 MB / 1.019 GB, free: 98.56 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009012/1.686, allocations: 0.7301 MB / 1.019 GB, free: 97.82 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004091/1.686, allocations: 308 kB / 1.02 GB, free: 97.52 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007642/1.694, allocations: 6.051 MB / 1.025 GB, free: 91.49 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.61e-07/1.694, allocations: 0 / 1.025 GB, free: 91.49 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00945/1.704, allocations: 2.626 MB / 1.028 GB, free: 88.86 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02243/1.726, allocations: 19.43 MB / 1.047 GB, free: 67.34 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01562/1.742, allocations: 10.37 MB / 1.057 GB, free: 56.88 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-05/1.742, allocations: 12.81 kB / 1.057 GB, free: 56.86 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008253/1.75, allocations: 5.442 MB / 1.062 GB, free: 51.36 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01281/1.763, allocations: 1.456 MB / 1.064 GB, free: 49.94 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3835/2.146, allocations: 147.3 MB / 1.208 GB, free: 123.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006952/2.153, allocations: 7.768 MB / 1.215 GB, free: 120.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008001/2.162, allocations: 3.569 MB / 1.219 GB, free: 118.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005708/2.167, allocations: 4.155 MB / 1.223 GB, free: 115 MB / 0.5763 GB Notification: Performance of SimCode: time 1.312e-06/2.167, allocations: 0 / 1.223 GB, free: 115 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.059/3.226, allocations: 190.5 MB / 1.409 GB, free: 135.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/3.226, allocations: 243.5 kB / 1.409 GB, free: 135.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.174/9.4, allocations: 4 kB / 1.409 GB, free: 135.2 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches