Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2428/0.2428, allocations: 46.93 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.91 kB / 0.4909 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1413, allocations: 65.99 MB / 0.5554 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01134/0.1526, allocations: 9.481 MB / 0.5646 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00599/0.1586, allocations: 2.838 MB / 0.5674 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.1598, allocations: 87.56 kB / 0.5675 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008568/0.1684, allocations: 3.772 MB / 0.5712 GB, free: 5.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.1723, allocations: 1.069 MB / 0.5722 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.1743, allocations: 0.7946 MB / 0.573 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005845/0.1802, allocations: 4.832 MB / 0.5777 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.1927, allocations: 9.342 MB / 0.5868 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004307/0.197, allocations: 2.848 MB / 0.5896 GB, free: 2.598 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2824/0.4794, allocations: 3.141 MB / 0.5927 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002548/0.482, allocations: 0.7659 MB / 0.5934 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.4852, allocations: 0.9367 MB / 0.5943 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002738/0.4879, allocations: 1.603 MB / 0.5959 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007374/0.4953, allocations: 3.016 MB / 0.5988 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.513, allocations: 10.48 MB / 0.6091 GB, free: 10.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.513, allocations: 7.375 kB / 0.6091 GB, free: 10.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.513, allocations: 1.094 kB / 0.6091 GB, free: 10.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004406/0.5134, allocations: 0 / 0.6091 GB, free: 10.99 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.02683/0.5403, allocations: 6.417 MB / 0.6154 GB, free: 7.559 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.5403, allocations: 9.844 kB / 0.6154 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003713/0.544, allocations: 0.8859 MB / 0.6162 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0235/0.5675, allocations: 3.933 MB / 0.6201 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007754/0.5753, allocations: 3.239 MB / 0.6232 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004357/0.5757, allocations: 395 kB / 0.6236 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002665/0.5784, allocations: 0.4972 MB / 0.6241 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/0.6014, allocations: 8.731 MB / 0.6326 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/0.6016, allocations: 7.141 kB / 0.6326 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/0.6027, allocations: 219.7 kB / 0.6328 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003449/0.6031, allocations: 338.7 kB / 0.6332 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.6224, allocations: 8.045 MB / 0.641 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05272/0.6751, allocations: 27.84 MB / 0.6682 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01522/0.6904, allocations: 10.03 MB / 0.678 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003375/0.6937, allocations: 1.484 MB / 0.6795 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003479/0.6941, allocations: 228.2 kB / 0.6797 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.191e-05/0.6941, allocations: 63.19 kB / 0.6797 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.218e-06/0.6941, allocations: 0 / 0.6797 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006676/0.7008, allocations: 3.522 MB / 0.6832 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.7009, allocations: 103.1 kB / 0.6833 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00623/0.7071, allocations: 3.43 MB / 0.6866 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004497/0.7076, allocations: 57.7 kB / 0.6867 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001964/0.7096, allocations: 2.238 MB / 0.6889 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.7107, allocations: 0.7746 MB / 0.6896 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.712, allocations: 0.7069 MB / 0.6903 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.7121, allocations: 305.1 kB / 0.6906 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002939/0.7151, allocations: 1.56 MB / 0.6921 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004606/0.7197, allocations: 3.191 MB / 0.6952 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007543/0.7272, allocations: 5.079 MB / 0.7002 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-05/0.7273, allocations: 17.03 kB / 0.7002 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01046/0.7377, allocations: 4.96 MB / 0.7051 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.232e-05/0.7378, allocations: 28 kB / 0.7051 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.7379, allocations: 56 kB / 0.7051 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.738, allocations: 80.91 kB / 0.7052 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/0.7418, allocations: 0.9204 MB / 0.7061 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001334/0.7419, allocations: 113.3 kB / 0.7062 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/0.7453, allocations: 0.5663 MB / 0.7068 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006191/0.7459, allocations: 200 kB / 0.707 GB, free: 1.492 MB / 0.5137 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 (442): * Single equations (assignments): 442 * 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.004557/0.7505, allocations: 2.084 MB / 0.709 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007151/0.7512, allocations: 278.2 kB / 0.7093 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006596/0.7578, allocations: 3.186 MB / 0.7124 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/0.7578, allocations: 24 kB / 0.7124 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.7578, allocations: 0 / 0.7124 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.7579, allocations: 11.95 kB / 0.7124 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02086/0.7787, allocations: 8.662 MB / 0.7209 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.412e-05/0.7788, allocations: 16.22 kB / 0.7209 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002436/0.7812, allocations: 0.5678 MB / 0.7214 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.149e-05/0.7813, allocations: 28 kB / 0.7215 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003583/0.7816, allocations: 71.98 kB / 0.7215 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.86e-05/0.7817, allocations: 45.55 kB / 0.7216 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.497e-05/0.7817, allocations: 29.8 kB / 0.7216 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00918/0.7909, allocations: 5.271 MB / 0.7268 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/0.7934, allocations: 0.7054 MB / 0.7274 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009034/0.7943, allocations: 67.98 kB / 0.7275 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/0.7964, allocations: 127.9 kB / 0.7276 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005299/0.7969, allocations: 220.1 kB / 0.7278 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/0.7972, allocations: 99.97 kB / 0.7279 GB, free: 11.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005672/0.8028, allocations: 2.384 MB / 0.7303 GB, free: 9.277 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8028, allocations: 0 / 0.7303 GB, free: 9.277 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00563/0.8085, allocations: 1.11 MB / 0.7313 GB, free: 8.164 MB / 0.545 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 (275): * Single equations (assignments): 275 * 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.00976/0.8182, allocations: 5.954 MB / 0.7372 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006511/0.8247, allocations: 3.468 MB / 0.7406 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/0.8248, allocations: 4 kB / 0.7406 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002688/0.8274, allocations: 1.476 MB / 0.742 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004183/0.8316, allocations: 0.5291 MB / 0.7425 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07795/0.9096, allocations: 37.66 MB / 0.7793 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006482/0.9161, allocations: 3.643 MB / 0.7829 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004303/0.9204, allocations: 1.476 MB / 0.7843 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003467/0.9238, allocations: 1.647 MB / 0.7859 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of SimCode: time 1.863e-06/0.9238, allocations: 0 / 0.7859 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4305/1.354, allocations: 74.91 MB / 0.8591 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.35, allocations: 9.031 kB / 0.8591 GB, free: 216.6 MB / 0.6387 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 19.57996758702211]