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.0009104/0.0009104, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008535/0.0008535, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1825/0.1825, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002444, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.09406, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01632/0.1104, allocations: 18.46 MB / 0.4899 GB, free: 1.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008632/0.1191, allocations: 4.892 MB / 0.4947 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.1211, allocations: 147.5 kB / 0.4948 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.1236, allocations: 1.225 MB / 0.496 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004741/0.1284, allocations: 1.877 MB / 0.4978 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.1311, allocations: 1.292 MB / 0.4991 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1969/0.3279, allocations: 12.44 MB / 0.5112 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03479/0.3628, allocations: 25.39 MB / 0.536 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006731/0.3695, allocations: 4.556 MB / 0.5405 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.3806, allocations: 5.753 MB / 0.5461 GB, free: 0 / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002295/0.3829, allocations: 0.6837 MB / 0.5468 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.386, allocations: 0.8848 MB / 0.5476 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001781/0.3878, allocations: 2.318 MB / 0.5499 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005876/0.3937, allocations: 5.57 MB / 0.5553 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01696/0.4107, allocations: 22.16 MB / 0.577 GB, free: 1.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4107, allocations: 0 / 0.577 GB, free: 1.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4107, allocations: 0 / 0.577 GB, free: 1.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003899/0.4111, allocations: 0 / 0.577 GB, free: 1.484 MB / 414.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.02885/0.44, allocations: 11.87 MB / 0.5886 GB, free: 5.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.44, allocations: 8.875 kB / 0.5886 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003912/0.4439, allocations: 1.72 MB / 0.5903 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05913/0.5031, allocations: 11.49 MB / 0.6015 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.5156, allocations: 7.089 MB / 0.6084 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006424/0.5162, allocations: 0.8927 MB / 0.6093 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002954/0.5192, allocations: 1.17 MB / 0.6104 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03667/0.5559, allocations: 18.56 MB / 0.6285 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003508/0.5563, allocations: 19.89 kB / 0.6285 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002854/0.5591, allocations: 493.8 kB / 0.629 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006218/0.5598, allocations: 0.6539 MB / 0.6297 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03534/0.5951, allocations: 19.09 MB / 0.6483 GB, free: 8.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4538/1.049, allocations: 61.1 MB / 0.708 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/1.067, allocations: 16.6 MB / 0.7242 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006525/1.074, allocations: 4.521 MB / 0.7286 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004304/1.074, allocations: 323.7 kB / 0.7289 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.985e-05/1.075, allocations: 104.6 kB / 0.729 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.045e-06/1.075, allocations: 0 / 0.729 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.0158/1.09, allocations: 12.38 MB / 0.7411 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/1.09, allocations: 119.8 kB / 0.7412 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00953/1.1, allocations: 8.6 MB / 0.7496 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006357/1.101, allocations: 135.5 kB / 0.7497 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002225/1.103, allocations: 4.487 MB / 0.7541 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.104, allocations: 2.186 MB / 0.7563 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006636/1.105, allocations: 0.599 MB / 0.7568 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.446e-05/1.105, allocations: 301.1 kB / 0.7571 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004678/1.11, allocations: 4.107 MB / 0.7611 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/1.115, allocations: 6.911 MB / 0.7679 GB, free: 114.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.127, allocations: 11.95 MB / 0.7796 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-05/1.127, allocations: 26.22 kB / 0.7796 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01536/1.142, allocations: 12.02 MB / 0.7913 GB, free: 96.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/1.143, allocations: 44 kB / 0.7914 GB, free: 96.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/1.143, allocations: 88.38 kB / 0.7915 GB, free: 96.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008691/1.144, allocations: 416.8 kB / 0.7918 GB, free: 96.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006272/1.15, allocations: 1.998 MB / 0.7938 GB, free: 94.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004797/1.155, allocations: 8.929 MB / 0.8025 GB, free: 84.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006761/1.161, allocations: 1.354 MB / 0.8038 GB, free: 83.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009721/1.162, allocations: 372.8 kB / 0.8042 GB, free: 82.69 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.006363/1.169, allocations: 4.585 MB / 0.8087 GB, free: 78.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.17, allocations: 0.6982 MB / 0.8094 GB, free: 77.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/1.185, allocations: 10.63 MB / 0.8197 GB, free: 66.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/1.186, allocations: 64 kB / 0.8198 GB, free: 66.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.053e-05/1.186, allocations: 4 kB / 0.8198 GB, free: 66.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.437e-05/1.186, allocations: 35.86 kB / 0.8198 GB, free: 66.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3475/1.533, allocations: 161.4 MB / 0.9775 GB, free: 146.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.246e-05/1.533, allocations: 88 kB / 0.9776 GB, free: 146.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004704/1.538, allocations: 1.543 MB / 0.9791 GB, free: 144.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007049/1.539, allocations: 382.5 kB / 0.9794 GB, free: 144.5 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004046/1.539, allocations: 244 kB / 0.9797 GB, free: 144.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004413/1.544, allocations: 8.803 MB / 0.9883 GB, free: 134.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.321e-05/1.544, allocations: 131.4 kB / 0.9884 GB, free: 134.7 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/1.562, allocations: 18.54 MB / 1.007 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003945/1.566, allocations: 2.024 MB / 1.008 GB, free: 112.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/1.567, allocations: 245 kB / 1.009 GB, free: 112.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005003/1.572, allocations: 0.5619 MB / 1.009 GB, free: 111.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009256/1.573, allocations: 0.7302 MB / 1.01 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004383/1.574, allocations: 308 kB / 1.01 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007668/1.581, allocations: 6.047 MB / 1.016 GB, free: 104.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.61e-07/1.581, allocations: 3.938 kB / 1.016 GB, free: 104.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007987/1.589, allocations: 2.624 MB / 1.019 GB, free: 102.1 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.0181/1.607, allocations: 19.44 MB / 1.038 GB, free: 80.58 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.62, allocations: 10.38 MB / 1.048 GB, free: 70.11 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.631e-05/1.62, allocations: 20.06 kB / 1.048 GB, free: 70.09 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006551/1.627, allocations: 5.456 MB / 1.053 GB, free: 64.57 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08182/1.708, allocations: 1.485 MB / 1.055 GB, free: 63.12 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3735/2.082, allocations: 147.4 MB / 1.199 GB, free: 127.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006422/2.088, allocations: 7.773 MB / 1.206 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007697/2.096, allocations: 3.566 MB / 1.21 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004625/2.101, allocations: 4.152 MB / 1.214 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of SimCode: time 7.01e-07/2.101, allocations: 7.844 kB / 1.214 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4446/2.545, allocations: 187.7 MB / 1.397 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/2.545, allocations: 236.7 kB / 1.397 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.783/8.329, allocations: 4 kB / 1.397 GB, free: 174.7 MB / 0.5919 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