Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.001259/0.001259, allocations: 105.1 kB / 21.22 MB, free: 0.6523 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.001521/0.001521, allocations: 218.9 kB / 24.52 MB, free: 3.945 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.396/1.396, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2138/0.2138, allocations: 46.95 MB / 361.6 MB, free: 3.949 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.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 79.86 kB / 0.4969 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3227, allocations: 66.08 MB / 0.5614 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01053/0.3333, allocations: 8.235 MB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006106/0.3394, allocations: 2.718 MB / 0.5721 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.3411, allocations: 87.56 kB / 0.5722 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008901/0.35, allocations: 3.491 MB / 0.5756 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004688/0.3547, allocations: 1.091 MB / 0.5767 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.357, allocations: 0.7636 MB / 0.5774 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006596/0.3636, allocations: 4.859 MB / 0.5822 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01143/0.3751, allocations: 7.775 MB / 0.5898 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004347/0.3794, allocations: 2.856 MB / 0.5925 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005666/0.3851, allocations: 3.161 MB / 0.5956 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002235/0.3873, allocations: 0.7656 MB / 0.5964 GB, free: 60 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.3899, allocations: 0.9256 MB / 0.5973 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.392, allocations: 1.606 MB / 0.5989 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003686/0.3957, allocations: 2.339 MB / 0.6011 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.4065, allocations: 10.53 MB / 0.6114 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4065, allocations: 4 kB / 0.6114 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4065, allocations: 0 / 0.6114 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002217/0.4067, allocations: 0 / 0.6114 GB, free: 0.6055 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01757/0.4243, allocations: 6.348 MB / 0.6176 GB, free: 10.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.4243, allocations: 8.031 kB / 0.6176 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002351/0.4246, allocations: 166.5 kB / 0.6178 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002272/0.4268, allocations: 0.9002 MB / 0.6187 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0218/0.4486, allocations: 3.93 MB / 0.6225 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00673/0.4554, allocations: 3.264 MB / 0.6257 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/0.4557, allocations: 394.5 kB / 0.6261 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/0.4571, allocations: 0.5117 MB / 0.6266 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.4739, allocations: 8.752 MB / 0.6351 GB, free: 8.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.474, allocations: 11.95 kB / 0.6351 GB, free: 8.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006105/0.4747, allocations: 212 kB / 0.6353 GB, free: 7.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003722/0.475, allocations: 339.2 kB / 0.6357 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.4897, allocations: 8.066 MB / 0.6435 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0395/0.5292, allocations: 23.38 MB / 0.6664 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.5404, allocations: 4.704 MB / 0.671 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002853/0.5432, allocations: 1.533 MB / 0.6725 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.5435, allocations: 65.94 kB / 0.6725 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/0.5435, allocations: 60.5 kB / 0.6726 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=226): time 5.12e-06/0.5435, allocations: 0 / 0.6726 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.01913/0.5626, allocations: 9.268 MB / 0.6816 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.5627, allocations: 107.4 kB / 0.6817 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004938/0.5677, allocations: 3.426 MB / 0.6851 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002854/0.568, allocations: 69.7 kB / 0.6851 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.5696, allocations: 2.226 MB / 0.6873 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009939/0.5706, allocations: 0.8988 MB / 0.6882 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.5718, allocations: 0.7508 MB / 0.6889 GB, free: 480 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.572, allocations: 305.1 kB / 0.6892 GB, free: 172 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/0.5752, allocations: 1.807 MB / 0.691 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004561/0.5798, allocations: 3.443 MB / 0.6944 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007963/0.5877, allocations: 5.583 MB / 0.6998 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.943e-05/0.5878, allocations: 16 kB / 0.6998 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.009489/0.5972, allocations: 5.488 MB / 0.7052 GB, free: 14.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.5973, allocations: 32.03 kB / 0.7052 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.303e-05/0.5974, allocations: 59.94 kB / 0.7053 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.699e-05/0.5974, allocations: 83.98 kB / 0.7053 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/0.6013, allocations: 1.061 MB / 0.7064 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.644e-05/0.6014, allocations: 111.6 kB / 0.7065 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/0.6039, allocations: 267.7 kB / 0.7067 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/0.6043, allocations: 212 kB / 0.7069 GB, free: 12.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * 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 (476): * Single equations (assignments): 476 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003104/0.6074, allocations: 2.113 MB / 0.709 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005022/0.6079, allocations: 282.1 kB / 0.7093 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006756/0.6146, allocations: 3.792 MB / 0.713 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.6146, allocations: 28 kB / 0.713 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.6147, allocations: 0 / 0.713 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.6147, allocations: 11.95 kB / 0.713 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/0.6309, allocations: 9.107 MB / 0.7219 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/0.6309, allocations: 16 kB / 0.7219 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002952/0.6338, allocations: 0.7146 MB / 0.7226 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.269e-05/0.6339, allocations: 28 kB / 0.7227 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002287/0.6341, allocations: 87.95 kB / 0.7227 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-05/0.6341, allocations: 39.86 kB / 0.7228 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.976e-05/0.6342, allocations: 27.88 kB / 0.7228 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009812/0.644, allocations: 6.242 MB / 0.7289 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/0.6458, allocations: 0.6735 MB / 0.7296 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004856/0.6463, allocations: 71.98 kB / 0.7296 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.6479, allocations: 163.8 kB / 0.7298 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004367/0.6484, allocations: 249.2 kB / 0.73 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/0.6486, allocations: 111.9 kB / 0.7301 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003793/0.6523, allocations: 2.388 MB / 0.7325 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6523, allocations: 64 / 0.7325 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003455/0.6558, allocations: 0.8828 MB / 0.7333 GB, free: 0.7344 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.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 (309): * Single equations (assignments): 309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2512/0.907, allocations: 6.912 MB / 0.7401 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005301/0.9123, allocations: 4.013 MB / 0.744 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/0.9123, allocations: 5.562 kB / 0.744 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.9146, allocations: 1.761 MB / 0.7457 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/0.9174, allocations: 0.5423 MB / 0.7462 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04396/0.9613, allocations: 39.78 MB / 0.7851 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/0.9638, allocations: 3.163 MB / 0.7882 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002844/0.9666, allocations: 1.579 MB / 0.7897 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/0.9683, allocations: 1.706 MB / 0.7914 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.392e-06/0.9683, allocations: 0 / 0.7914 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.073, allocations: 81.3 MB / 0.8708 GB, free: 21.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.35/17.42, allocations: 8.047 kB / 0.8708 GB, free: 21.17 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.74096578604076]