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.001243/0.001243, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.001443/0.001443, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.465/1.465, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2193/0.2193, allocations: 46.92 MB / 357.7 MB, free: 10.27 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.002603/0.002603, allocations: 79.88 kB / 0.4916 GB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1279, allocations: 66.04 MB / 0.5561 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01164/0.1396, allocations: 9.476 MB / 0.5654 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.1457, allocations: 2.842 MB / 0.5682 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.1473, allocations: 87.56 kB / 0.5683 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008867/0.1562, allocations: 3.778 MB / 0.5719 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004123/0.1603, allocations: 1.072 MB / 0.573 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.1626, allocations: 0.783 MB / 0.5738 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006188/0.1688, allocations: 4.845 MB / 0.5785 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01504/0.1838, allocations: 9.326 MB / 0.5876 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004664/0.1885, allocations: 2.856 MB / 0.5904 GB, free: 2.324 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2876/0.476, allocations: 3.14 MB / 0.5934 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002416/0.4785, allocations: 0.7655 MB / 0.5942 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/0.4829, allocations: 0.9374 MB / 0.5951 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002792/0.4857, allocations: 1.604 MB / 0.5967 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00814/0.4938, allocations: 3.013 MB / 0.5996 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01643/0.5102, allocations: 10.49 MB / 0.6099 GB, free: 10.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5102, allocations: 1.156 kB / 0.6099 GB, free: 10.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5102, allocations: 0 / 0.6099 GB, free: 10.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003561/0.5106, allocations: 0 / 0.6099 GB, free: 10.95 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.02068/0.5313, allocations: 6.422 MB / 0.6161 GB, free: 7.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5313, allocations: 9.594 kB / 0.6161 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002825/0.5316, allocations: 164.9 kB / 0.6163 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003066/0.5347, allocations: 0.891 MB / 0.6172 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02257/0.5573, allocations: 3.929 MB / 0.621 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007643/0.5649, allocations: 3.247 MB / 0.6242 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004916/0.5654, allocations: 396.8 kB / 0.6246 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002835/0.5682, allocations: 0.5056 MB / 0.625 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02673/0.595, allocations: 8.749 MB / 0.6336 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/0.5952, allocations: 14.94 kB / 0.6336 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002591/0.5978, allocations: 211.3 kB / 0.6338 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004531/0.5983, allocations: 345.4 kB / 0.6341 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.6172, allocations: 8.066 MB / 0.642 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05641/0.6736, allocations: 27.9 MB / 0.6693 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.6889, allocations: 10.18 MB / 0.6792 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003295/0.6922, allocations: 1.534 MB / 0.6807 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.6926, allocations: 230.7 kB / 0.6809 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.091e-05/0.6927, allocations: 58.56 kB / 0.681 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=226): time 5.16e-06/0.6927, allocations: 4 kB / 0.681 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.02288/0.7156, allocations: 9.431 MB / 0.6902 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.7157, allocations: 110.1 kB / 0.6903 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006963/0.7227, allocations: 3.422 MB / 0.6936 GB, free: 452 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004409/0.7231, allocations: 65.7 kB / 0.6937 GB, free: 380 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002264/0.7254, allocations: 2.249 MB / 0.6959 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/0.7267, allocations: 0.887 MB / 0.6968 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002104/0.7288, allocations: 0.7547 MB / 0.6975 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.729, allocations: 301.1 kB / 0.6978 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/0.7327, allocations: 1.807 MB / 0.6995 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005218/0.7379, allocations: 3.439 MB / 0.7029 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009424/0.7473, allocations: 5.592 MB / 0.7084 GB, free: 92 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.934e-05/0.7474, allocations: 19.19 kB / 0.7084 GB, free: 76 kB / 0.5137 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01186/0.7592, allocations: 5.491 MB / 0.7137 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.512e-05/0.7593, allocations: 31.94 kB / 0.7138 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.7594, allocations: 56 kB / 0.7138 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.7595, allocations: 76.81 kB / 0.7139 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/0.764, allocations: 1.066 MB / 0.7149 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000132/0.7641, allocations: 114.4 kB / 0.7151 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/0.7675, allocations: 263.7 kB / 0.7153 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007797/0.7683, allocations: 204 kB / 0.7155 GB, free: 9.195 MB / 0.5294 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.004695/0.773, allocations: 2.111 MB / 0.7176 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007545/0.7738, allocations: 293.8 kB / 0.7178 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008337/0.7821, allocations: 3.792 MB / 0.7215 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.37e-05/0.7821, allocations: 31.98 kB / 0.7216 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/0.7822, allocations: 0 / 0.7216 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.011e-05/0.7822, allocations: 15.94 kB / 0.7216 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02153/0.8037, allocations: 9.562 MB / 0.7309 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/0.8038, allocations: 16 kB / 0.7309 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003011/0.8068, allocations: 0.7097 MB / 0.7316 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.428e-05/0.8068, allocations: 28 kB / 0.7317 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/0.8071, allocations: 87.91 kB / 0.7317 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.179e-05/0.8072, allocations: 40.89 kB / 0.7318 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.279e-05/0.8072, allocations: 26.38 kB / 0.7318 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.8176, allocations: 6.245 MB / 0.7379 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/0.8194, allocations: 0.7215 MB / 0.7386 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007546/0.8201, allocations: 75.92 kB / 0.7387 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/0.8223, allocations: 167.8 kB / 0.7388 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004577/0.8227, allocations: 238.1 kB / 0.7391 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002098/0.8229, allocations: 108 kB / 0.7392 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004894/0.8278, allocations: 2.388 MB / 0.7415 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8278, allocations: 4 kB / 0.7415 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004728/0.8325, allocations: 0.8867 MB / 0.7424 GB, free: 13.29 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.01178/0.8443, allocations: 6.92 MB / 0.7491 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008302/0.8526, allocations: 4.023 MB / 0.7531 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/0.8526, allocations: 0 / 0.7531 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003464/0.8561, allocations: 1.758 MB / 0.7548 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004489/0.8606, allocations: 0.5387 MB / 0.7553 GB, free: 36 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08298/0.9436, allocations: 39.79 MB / 0.7942 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006567/0.9501, allocations: 3.693 MB / 0.7978 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004442/0.9546, allocations: 1.583 MB / 0.7993 GB, free: 428 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003495/0.9581, allocations: 1.704 MB / 0.801 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/0.9581, allocations: 0 / 0.801 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3828/1.341, allocations: 78.38 MB / 0.8775 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.18, allocations: 8.062 kB / 0.8775 GB, free: 202.4 MB / 0.6387 GB " [Timeout remaining time 645] (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: 20.63414769998053]