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.001857/0.001857, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002275/0.002275, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2367/0.2367, allocations: 46.92 MB / 360.9 MB, free: 4.266 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.001898/0.001898, allocations: 71.89 kB / 0.4962 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3329, allocations: 66.04 MB / 0.5606 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01162/0.3445, allocations: 9.492 MB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005857/0.3504, allocations: 2.854 MB / 0.5727 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.3514, allocations: 83.62 kB / 0.5728 GB, free: 8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008361/0.3598, allocations: 3.796 MB / 0.5765 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003865/0.3637, allocations: 1.088 MB / 0.5775 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.3657, allocations: 0.804 MB / 0.5783 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006081/0.3718, allocations: 4.863 MB / 0.5831 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01178/0.3836, allocations: 7.771 MB / 0.5907 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004782/0.3884, allocations: 2.856 MB / 0.5935 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005732/0.3941, allocations: 3.162 MB / 0.5965 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001873/0.396, allocations: 0.7656 MB / 0.5973 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.3983, allocations: 0.9295 MB / 0.5982 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.3999, allocations: 1.609 MB / 0.5998 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003895/0.4038, allocations: 3.012 MB / 0.6027 GB, free: 9.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.4169, allocations: 10.49 MB / 0.613 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4169, allocations: 0 / 0.613 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4169, allocations: 0 / 0.613 GB, free: 14.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002626/0.4171, allocations: 3.938 kB / 0.613 GB, free: 14.63 MB / 462.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.01924/0.4364, allocations: 6.34 MB / 0.6192 GB, free: 8.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.4364, allocations: 12.03 kB / 0.6192 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002739/0.4392, allocations: 0.8844 MB / 0.62 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02217/0.4613, allocations: 3.93 MB / 0.6239 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008005/0.4693, allocations: 3.272 MB / 0.6271 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004655/0.4698, allocations: 394.5 kB / 0.6274 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002125/0.4719, allocations: 0.4999 MB / 0.6279 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.4937, allocations: 8.732 MB / 0.6365 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001817/0.4939, allocations: 0 / 0.6365 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001452/0.4953, allocations: 212 kB / 0.6367 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000405/0.4957, allocations: 347.2 kB / 0.637 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/0.5114, allocations: 8.047 MB / 0.6448 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04483/0.5562, allocations: 25.31 MB / 0.6696 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.5675, allocations: 4.62 MB / 0.6741 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/0.5701, allocations: 1.487 MB / 0.6755 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.5703, allocations: 69.88 kB / 0.6756 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.5704, allocations: 60.56 kB / 0.6757 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 3.687e-06/0.5704, allocations: 0 / 0.6757 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.005951/0.5763, allocations: 3.527 MB / 0.6791 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.5764, allocations: 99.11 kB / 0.6792 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005015/0.5814, allocations: 3.43 MB / 0.6825 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.5816, allocations: 65.64 kB / 0.6826 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/0.5834, allocations: 2.241 MB / 0.6848 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007368/0.5841, allocations: 0.7748 MB / 0.6855 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.5851, allocations: 0.7108 MB / 0.6862 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5853, allocations: 305.1 kB / 0.6865 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/0.5877, allocations: 1.564 MB / 0.6881 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/0.5916, allocations: 3.187 MB / 0.6912 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006667/0.5983, allocations: 5.083 MB / 0.6961 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.545e-05/0.5983, allocations: 16 kB / 0.6962 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008627/0.607, allocations: 4.952 MB / 0.701 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.607, allocations: 28 kB / 0.701 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.381e-05/0.6071, allocations: 56 kB / 0.7011 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.747e-05/0.6072, allocations: 76 kB / 0.7011 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/0.6104, allocations: 0.9209 MB / 0.702 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001195/0.6106, allocations: 111.6 kB / 0.7021 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.6136, allocations: 0.5741 MB / 0.7027 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000438/0.614, allocations: 191.9 kB / 0.7029 GB, free: 252 kB / 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 (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.004036/0.6181, allocations: 2.089 MB / 0.7049 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/0.6187, allocations: 274.2 kB / 0.7052 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006325/0.625, allocations: 3.183 MB / 0.7083 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.6251, allocations: 24 kB / 0.7083 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/0.6251, allocations: 4 kB / 0.7083 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/0.6251, allocations: 11.95 kB / 0.7083 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.6424, allocations: 8.653 MB / 0.7168 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/0.6424, allocations: 17 kB / 0.7168 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/0.6446, allocations: 0.5694 MB / 0.7174 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.92e-05/0.6446, allocations: 28 kB / 0.7174 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/0.6448, allocations: 75.98 kB / 0.7175 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.723e-05/0.6448, allocations: 39.86 kB / 0.7175 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.022e-05/0.6448, allocations: 27.88 kB / 0.7175 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007891/0.6527, allocations: 5.268 MB / 0.7227 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/0.6546, allocations: 0.6457 MB / 0.7233 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005849/0.6551, allocations: 64 kB / 0.7234 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.6567, allocations: 131.8 kB / 0.7235 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.657, allocations: 225.3 kB / 0.7237 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.6572, allocations: 103.9 kB / 0.7238 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004189/0.6614, allocations: 2.392 MB / 0.7261 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6614, allocations: 0 / 0.7261 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003702/0.6651, allocations: 1.114 MB / 0.7272 GB, free: 6.656 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 (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.008569/0.6737, allocations: 5.933 MB / 0.733 GB, free: 388 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2674/0.941, allocations: 3.469 MB / 0.7364 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/0.941, allocations: 0 / 0.7364 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.9433, allocations: 1.486 MB / 0.7379 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.9461, allocations: 0.5209 MB / 0.7384 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0417/0.9878, allocations: 37.68 MB / 0.7752 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/0.9904, allocations: 3.64 MB / 0.7787 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002742/0.9932, allocations: 1.472 MB / 0.7802 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/0.9949, allocations: 1.647 MB / 0.7818 GB, free: 115 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/0.9949, allocations: 0 / 0.7818 GB, free: 115 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/1.108, allocations: 78.2 MB / 0.8581 GB, free: 36.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/17.59, allocations: 14.94 kB / 0.8581 GB, free: 36.98 MB / 0.5606 GB " [Timeout remaining time 642] (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: 21.733318578917533]