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.001574/0.001574, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001417/0.001417, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.372/1.372, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.213/0.213, allocations: 46.93 MB / 361.6 MB, free: 4.277 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.002145/0.002145, allocations: 75.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2941, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01099/0.3051, allocations: 9.499 MB / 0.5708 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005541/0.3107, allocations: 2.85 MB / 0.5736 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.3117, allocations: 87.56 kB / 0.5736 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007998/0.3197, allocations: 3.793 MB / 0.5773 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003685/0.3234, allocations: 1.084 MB / 0.5784 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.3253, allocations: 0.8015 MB / 0.5792 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005795/0.3311, allocations: 4.871 MB / 0.5839 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.3416, allocations: 7.787 MB / 0.5915 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.3453, allocations: 2.849 MB / 0.5943 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00446/0.3498, allocations: 3.154 MB / 0.5974 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.351, allocations: 0.7656 MB / 0.5981 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.3527, allocations: 0.9294 MB / 0.5991 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.3541, allocations: 1.609 MB / 0.6006 GB, free: 12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003917/0.3581, allocations: 3.004 MB / 0.6036 GB, free: 8.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.3703, allocations: 10.49 MB / 0.6138 GB, free: 14.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3703, allocations: 0 / 0.6138 GB, free: 14.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3703, allocations: 0 / 0.6138 GB, free: 14.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002522/0.3706, allocations: 0 / 0.6138 GB, free: 14.45 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.01633/0.3869, allocations: 6.344 MB / 0.62 GB, free: 8.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.387, allocations: 16.02 kB / 0.62 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001698/0.3871, allocations: 162.4 kB / 0.6202 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001654/0.3888, allocations: 0.8885 MB / 0.621 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/0.4098, allocations: 3.934 MB / 0.6249 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006885/0.4166, allocations: 3.272 MB / 0.6281 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/0.417, allocations: 402.5 kB / 0.6285 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001562/0.4186, allocations: 0.5 MB / 0.629 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.4385, allocations: 8.76 MB / 0.6375 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.4386, allocations: 7.953 kB / 0.6375 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007732/0.4394, allocations: 212 kB / 0.6377 GB, free: 5.816 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003908/0.4398, allocations: 339.2 kB / 0.638 GB, free: 5.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.4553, allocations: 8.07 MB / 0.6459 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04405/0.4993, allocations: 25.38 MB / 0.6707 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/0.5109, allocations: 4.768 MB / 0.6754 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.5136, allocations: 1.53 MB / 0.6769 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.5138, allocations: 78.03 kB / 0.6769 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.5139, allocations: 60.5 kB / 0.677 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=226): time 3.577e-06/0.5139, allocations: 0 / 0.677 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.01881/0.5327, allocations: 9.275 MB / 0.686 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.5328, allocations: 103.4 kB / 0.6861 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00497/0.5377, allocations: 3.43 MB / 0.6895 GB, free: 224 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003046/0.538, allocations: 65.7 kB / 0.6896 GB, free: 152 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.54, allocations: 2.23 MB / 0.6917 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009711/0.541, allocations: 0.891 MB / 0.6926 GB, free: 13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.5421, allocations: 0.7586 MB / 0.6933 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5423, allocations: 301.1 kB / 0.6936 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003165/0.5454, allocations: 1.807 MB / 0.6954 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.55, allocations: 3.447 MB / 0.6988 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008024/0.5581, allocations: 5.587 MB / 0.7042 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-05/0.5581, allocations: 16 kB / 0.7042 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.009866/0.568, allocations: 5.491 MB / 0.7096 GB, free: 10.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.568, allocations: 28 kB / 0.7096 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-05/0.5681, allocations: 56 kB / 0.7097 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.873e-05/0.5682, allocations: 76 kB / 0.7097 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/0.5722, allocations: 1.069 MB / 0.7108 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001037/0.5723, allocations: 115.6 kB / 0.7109 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/0.5751, allocations: 267.7 kB / 0.7112 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004405/0.5756, allocations: 204 kB / 0.7114 GB, free: 8.234 MB / 0.545 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.003617/0.5792, allocations: 2.113 MB / 0.7134 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005783/0.5798, allocations: 286.1 kB / 0.7137 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007067/0.5868, allocations: 3.788 MB / 0.7174 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.5869, allocations: 28 kB / 0.7174 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.5869, allocations: 8 kB / 0.7174 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/0.5869, allocations: 19.88 kB / 0.7174 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/0.603, allocations: 9.551 MB / 0.7268 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/0.6031, allocations: 23.98 kB / 0.7268 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002857/0.6059, allocations: 0.7106 MB / 0.7275 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.469e-05/0.6059, allocations: 28 kB / 0.7275 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.6061, allocations: 87.97 kB / 0.7276 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-05/0.6062, allocations: 39.86 kB / 0.7276 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.9e-05/0.6062, allocations: 23.88 kB / 0.7277 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009981/0.6162, allocations: 6.242 MB / 0.7338 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.233/0.8492, allocations: 0.6712 MB / 0.7344 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008745/0.8501, allocations: 72.31 kB / 0.7345 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.852, allocations: 167.7 kB / 0.7346 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004631/0.8525, allocations: 248.1 kB / 0.7349 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/0.8527, allocations: 110.2 kB / 0.735 GB, free: 150 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003652/0.8564, allocations: 2.391 MB / 0.7373 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8564, allocations: 0 / 0.7373 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003332/0.8597, allocations: 0.884 MB / 0.7382 GB, free: 149.4 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.008474/0.8682, allocations: 6.906 MB / 0.7449 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005815/0.874, allocations: 4.021 MB / 0.7488 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.874, allocations: 7.938 kB / 0.7489 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002467/0.8765, allocations: 1.758 MB / 0.7506 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.8794, allocations: 0.5394 MB / 0.7511 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04757/0.9269, allocations: 39.79 MB / 0.79 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/0.9294, allocations: 3.69 MB / 0.7936 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002851/0.9322, allocations: 1.583 MB / 0.7951 GB, free: 99.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/0.9341, allocations: 1.706 MB / 0.7968 GB, free: 97.72 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/0.9341, allocations: 0 / 0.7968 GB, free: 97.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.036, allocations: 81.84 MB / 0.8767 GB, free: 16.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.51/17.55, allocations: 4.062 kB / 0.8767 GB, free: 16.07 MB / 0.5606 GB " [Timeout remaining time 642] (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: 22.865086878009606]