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.000823/0.000823, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009026/0.0009026, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9059/0.9059, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2651/0.2651, allocations: 34.24 MB / 294.9 MB, free: 0.7227 MB / 266.7 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 1.462e-06/1.462e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.007e-05, allocations: 6.219 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.1963/0.1963, allocations: 8.249 MB / 450.4 MB, free: 39.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004623/0.2009, allocations: 2.72 MB / 453.1 MB, free: 37.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.2024, allocations: 87.19 kB / 453.2 MB, free: 37.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003467/0.2058, allocations: 3.712 MB / 456.9 MB, free: 35.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.2086, allocations: 1.091 MB / 458 MB, free: 35.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.2098, allocations: 0.7694 MB / 458.8 MB, free: 34.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003453/0.2133, allocations: 5.043 MB / 463.8 MB, free: 32.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007173/0.2205, allocations: 7.717 MB / 471.6 MB, free: 27.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005733/0.2262, allocations: 4.2 MB / 475.8 MB, free: 25.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004732/0.2309, allocations: 2.772 MB / 478.5 MB, free: 24.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002065/0.233, allocations: 0.7647 MB / 479.3 MB, free: 24.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.2356, allocations: 0.9204 MB / 480.2 MB, free: 24.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.2369, allocations: 1.635 MB / 481.8 MB, free: 23.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003367/0.2402, allocations: 2.014 MB / 483.9 MB, free: 22.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.251, allocations: 10.59 MB / 494.4 MB, free: 18.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.251, allocations: 1.5 kB / 494.4 MB, free: 18.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.251, allocations: 0 / 494.4 MB, free: 18.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003213/0.2513, allocations: 1.5 kB / 494.4 MB, free: 18.67 MB / 410.7 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.01603/0.2673, allocations: 6.291 MB / 0.489 GB, free: 15.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.2674, allocations: 10.38 kB / 0.489 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002254/0.2696, allocations: 0.8858 MB / 0.4899 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.2811, allocations: 3.907 MB / 0.4937 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007418/0.2886, allocations: 3.266 MB / 0.4969 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005247/0.2891, allocations: 393.7 kB / 0.4973 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002812/0.2919, allocations: 0.5023 MB / 0.4977 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01931/0.3112, allocations: 8.729 MB / 0.5063 GB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001761/0.3114, allocations: 0.5156 kB / 0.5063 GB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/0.3127, allocations: 216 kB / 0.5065 GB, free: 4.312 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/0.3129, allocations: 343.1 kB / 0.5068 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.3256, allocations: 8.015 MB / 0.5146 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03502/0.3606, allocations: 23.31 MB / 0.5374 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006586/0.3672, allocations: 4.56 MB / 0.5419 GB, free: 15.63 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.369, allocations: 1.487 MB / 0.5433 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.3692, allocations: 65.94 kB / 0.5434 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3692, allocations: 52.56 kB / 0.5434 GB, free: 14.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=214): time 4.228e-06/0.3692, allocations: 0 / 0.5434 GB, free: 14.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=214): time 0.004445/0.3737, allocations: 3.531 MB / 0.5469 GB, free: 10.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.3738, allocations: 99.11 kB / 0.547 GB, free: 10.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/0.3788, allocations: 3.515 MB / 0.5504 GB, free: 6.832 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004368/0.3793, allocations: 53.7 kB / 0.5504 GB, free: 6.773 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.3808, allocations: 2.234 MB / 0.5526 GB, free: 4.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009557/0.3818, allocations: 0.7631 MB / 0.5534 GB, free: 3.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.3828, allocations: 0.703 MB / 0.5541 GB, free: 3.039 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.3829, allocations: 309.1 kB / 0.5544 GB, free: 2.734 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.385, allocations: 1.564 MB / 0.5559 GB, free: 1.168 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/0.3879, allocations: 3.187 MB / 0.559 GB, free: 13.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004861/0.3928, allocations: 5.079 MB / 0.564 GB, free: 7.348 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.333e-05/0.3928, allocations: 23.88 kB / 0.564 GB, free: 7.324 MB / 474.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006334/0.3992, allocations: 4.956 MB / 0.5688 GB, free: 2.359 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.3992, allocations: 28 kB / 0.5688 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.161e-05/0.3993, allocations: 56 kB / 0.5689 GB, free: 2.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.323e-05/0.3993, allocations: 80 kB / 0.569 GB, free: 2.199 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.4012, allocations: 0.9142 MB / 0.5699 GB, free: 1.285 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-05/0.4013, allocations: 115.6 kB / 0.57 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.4037, allocations: 0.5702 MB / 0.5705 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003696/0.4041, allocations: 196 kB / 0.5707 GB, free: 416 kB / 474.7 MB 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.003265/0.4074, allocations: 2.086 MB / 0.5728 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/0.4078, allocations: 278.2 kB / 0.573 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/0.4117, allocations: 3.172 MB / 0.5761 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.4117, allocations: 28 kB / 0.5761 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.4117, allocations: 0 / 0.5761 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.4117, allocations: 15.94 kB / 0.5762 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.4234, allocations: 8.268 MB / 0.5842 GB, free: 2.254 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/0.4234, allocations: 16 kB / 0.5843 GB, free: 2.238 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.4246, allocations: 0.5578 MB / 0.5848 GB, free: 1.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.743e-05/0.4246, allocations: 25.78 kB / 0.5848 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.4247, allocations: 79.97 kB / 0.5849 GB, free: 1.578 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.526e-05/0.4247, allocations: 39.86 kB / 0.5849 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.4248, allocations: 27.88 kB / 0.585 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/0.4299, allocations: 5.245 MB / 0.5901 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/0.4311, allocations: 0.6535 MB / 0.5907 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/0.4315, allocations: 67.98 kB / 0.5908 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/0.4322, allocations: 123.9 kB / 0.5909 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/0.4326, allocations: 229.2 kB / 0.5911 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.28e-05/0.4327, allocations: 96.05 kB / 0.5912 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002812/0.4355, allocations: 2.388 MB / 0.5935 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4355, allocations: 0 / 0.5935 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002997/0.4385, allocations: 1.114 MB / 0.5946 GB, free: 7.254 MB / 0.4948 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.005449/0.444, allocations: 5.905 MB / 0.6004 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004314/0.4483, allocations: 3.474 MB / 0.6038 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/0.4483, allocations: 4 kB / 0.6038 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.4502, allocations: 1.475 MB / 0.6052 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.4534, allocations: 0.5367 MB / 0.6058 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2496/0.703, allocations: 37.7 MB / 0.6426 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/0.7056, allocations: 3.107 MB / 0.6456 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002242/0.7079, allocations: 1.47 MB / 0.647 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/0.7095, allocations: 1.648 MB / 0.6487 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.174e-06/0.7095, allocations: 0 / 0.6487 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08925/0.7988, allocations: 76.1 MB / 0.723 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.837/9.636, allocations: 7.672 kB / 0.723 GB, free: 98.91 MB / 0.5261 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/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: 12.484899430535734]