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.0007172/0.0007172, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008867/0.0008867, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9248/0.9248, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2417/0.2417, allocations: 34.23 MB / 294.8 MB, free: 0.7031 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 442.1 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.685e-05, allocations: 2.281 kB / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.1938/0.1939, allocations: 8.256 MB / 450.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003508/0.1974, allocations: 2.724 MB / 453.1 MB, free: 37.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004521/0.1978, allocations: 85.19 kB / 453.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.2008, allocations: 3.694 MB / 456.9 MB, free: 35.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.2024, allocations: 1.097 MB / 458 MB, free: 35.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008411/0.2033, allocations: 0.7731 MB / 458.8 MB, free: 34.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.2056, allocations: 5.048 MB / 463.8 MB, free: 31.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005035/0.2106, allocations: 7.715 MB / 471.5 MB, free: 27.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.2134, allocations: 4.197 MB / 475.7 MB, free: 25.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.2152, allocations: 2.771 MB / 478.5 MB, free: 24.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004976/0.2157, allocations: 0.7682 MB / 479.3 MB, free: 24.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008749/0.2166, allocations: 0.9238 MB / 480.2 MB, free: 24.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006612/0.2172, allocations: 1.631 MB / 481.8 MB, free: 23.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.2188, allocations: 2.01 MB / 483.8 MB, free: 22.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006889/0.2257, allocations: 10.59 MB / 494.4 MB, free: 18.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2257, allocations: 0 / 494.4 MB, free: 18.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2257, allocations: 0 / 494.4 MB, free: 18.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001681/0.2258, allocations: 1.156 kB / 494.4 MB, free: 18.59 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.01018/0.236, allocations: 6.288 MB / 0.489 GB, free: 15.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.2361, allocations: 10.25 kB / 0.489 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00108/0.2372, allocations: 0.8898 MB / 0.4899 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.2483, allocations: 3.902 MB / 0.4937 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004724/0.253, allocations: 3.271 MB / 0.4969 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.2532, allocations: 393.8 kB / 0.4972 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006831/0.2539, allocations: 0.5059 MB / 0.4977 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009818/0.2637, allocations: 8.723 MB / 0.5062 GB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-05/0.2638, allocations: 11.94 kB / 0.5063 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/0.2642, allocations: 208 kB / 0.5065 GB, free: 4.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.2644, allocations: 343.2 kB / 0.5068 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008201/0.2726, allocations: 8.015 MB / 0.5146 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02349/0.2961, allocations: 23.32 MB / 0.5374 GB, free: 4.008 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005909/0.302, allocations: 4.56 MB / 0.5418 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.3034, allocations: 1.483 MB / 0.5433 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.3035, allocations: 58.8 kB / 0.5433 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.3036, allocations: 60.55 kB / 0.5434 GB, free: 13.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=214): time 4.058e-06/0.3036, allocations: 0 / 0.5434 GB, free: 13.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=214): time 0.003651/0.3072, allocations: 3.531 MB / 0.5468 GB, free: 10.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3073, allocations: 103.1 kB / 0.5469 GB, free: 10.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/0.3102, allocations: 3.507 MB / 0.5504 GB, free: 6.758 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-05/0.3102, allocations: 61.7 kB / 0.5504 GB, free: 6.691 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009265/0.3112, allocations: 2.226 MB / 0.5526 GB, free: 4.445 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/0.3115, allocations: 0.767 MB / 0.5534 GB, free: 3.672 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007865/0.3123, allocations: 0.7055 MB / 0.554 GB, free: 2.961 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.3124, allocations: 305.1 kB / 0.5543 GB, free: 2.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.3139, allocations: 1.572 MB / 0.5559 GB, free: 1.086 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.316, allocations: 3.191 MB / 0.559 GB, free: 13.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/0.3199, allocations: 5.079 MB / 0.5639 GB, free: 7.258 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/0.3199, allocations: 19.94 kB / 0.564 GB, free: 7.238 MB / 474.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.004575/0.3245, allocations: 4.953 MB / 0.5688 GB, free: 2.281 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.3245, allocations: 28 kB / 0.5688 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/0.3245, allocations: 56 kB / 0.5689 GB, free: 2.199 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.796e-05/0.3246, allocations: 76 kB / 0.569 GB, free: 2.125 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.3262, allocations: 0.9129 MB / 0.5698 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.665e-05/0.3262, allocations: 115.6 kB / 0.57 GB, free: 1.098 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.3278, allocations: 0.5741 MB / 0.5705 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.3279, allocations: 192 kB / 0.5707 GB, free: 340 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.001996/0.3299, allocations: 2.087 MB / 0.5727 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.3302, allocations: 278.2 kB / 0.573 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/0.3335, allocations: 3.179 MB / 0.5761 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.3335, allocations: 20 kB / 0.5761 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.3335, allocations: 12 kB / 0.5761 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.3335, allocations: 11.95 kB / 0.5761 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007905/0.3415, allocations: 8.257 MB / 0.5842 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.3415, allocations: 20.03 kB / 0.5842 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.3425, allocations: 0.5578 MB / 0.5848 GB, free: 1.605 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.911e-05/0.3425, allocations: 28 kB / 0.5848 GB, free: 1.578 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.946e-05/0.3426, allocations: 79.97 kB / 0.5849 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-05/0.3426, allocations: 35.86 kB / 0.5849 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/0.3427, allocations: 27.88 kB / 0.5849 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004534/0.3472, allocations: 5.249 MB / 0.5901 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.348, allocations: 0.6496 MB / 0.5907 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.3482, allocations: 67.98 kB / 0.5908 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.3488, allocations: 127.9 kB / 0.5909 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.349, allocations: 225.2 kB / 0.5911 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/0.3491, allocations: 95.97 kB / 0.5912 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002061/0.3512, allocations: 2.392 MB / 0.5935 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.3512, allocations: 0 / 0.5935 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002727/0.3539, allocations: 1.11 MB / 0.5946 GB, free: 7.18 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.004689/0.3586, allocations: 5.909 MB / 0.6004 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003612/0.3622, allocations: 3.474 MB / 0.6038 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.3622, allocations: 4 kB / 0.6038 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.3636, allocations: 1.475 MB / 0.6052 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.3652, allocations: 0.5242 MB / 0.6057 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2122/0.5774, 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.001903/0.5793, allocations: 3.108 MB / 0.6456 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001822/0.5811, allocations: 1.472 MB / 0.647 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.5824, allocations: 1.649 MB / 0.6486 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.523e-06/0.5824, allocations: 0 / 0.6486 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07948/0.6619, allocations: 76.08 MB / 0.7229 GB, free: 98.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.792/10.45, allocations: 15.52 kB / 0.7229 GB, free: 98.79 MB / 0.5261 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.65657030697912]