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.0009295/0.0009295, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00378/0.00378, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.8426/0.8426, allocations: 177.2 MB / 205 MB, free: 5.703 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.2756/0.2756, allocations: 34.26 MB / 295.7 MB, free: 0.6836 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: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.874e-05, allocations: 4.812 kB / 443.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.1973/0.1973, allocations: 8.253 MB / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.2006, allocations: 2.723 MB / 454.4 MB, free: 37.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.201, allocations: 87.12 kB / 454.5 MB, free: 37.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.2038, allocations: 3.696 MB / 458.2 MB, free: 35.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.2056, allocations: 1.1 MB / 459.3 MB, free: 35.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009508/0.2065, allocations: 0.7704 MB / 460 MB, free: 34.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.2089, allocations: 5.048 MB / 465.1 MB, free: 32.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004999/0.2139, allocations: 7.712 MB / 472.8 MB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.2169, allocations: 4.202 MB / 477 MB, free: 25.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.2187, allocations: 2.768 MB / 479.8 MB, free: 24.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005122/0.2192, allocations: 0.7667 MB / 480.5 MB, free: 24.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008945/0.2201, allocations: 0.9347 MB / 481.5 MB, free: 24.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000691/0.2208, allocations: 1.634 MB / 483.1 MB, free: 23.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.2222, allocations: 2.012 MB / 485.1 MB, free: 22.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007602/0.2298, allocations: 10.59 MB / 495.7 MB, free: 18.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2298, allocations: 3.938 kB / 495.7 MB, free: 18.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2298, allocations: 0 / 495.7 MB, free: 18.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002287/0.23, allocations: 1.031 kB / 495.7 MB, free: 18.64 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.01314/0.2432, allocations: 6.283 MB / 0.4902 GB, free: 15.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/0.2432, allocations: 9.781 kB / 0.4902 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.255, allocations: 3.905 MB / 0.4941 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005876/0.2609, allocations: 3.261 MB / 0.4972 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.2612, allocations: 392.1 kB / 0.4976 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007652/0.262, allocations: 0.4966 MB / 0.4981 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/0.2742, allocations: 8.704 MB / 0.5066 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.912e-05/0.2742, allocations: 11.89 kB / 0.5066 GB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000382/0.2746, allocations: 208 kB / 0.5068 GB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.2748, allocations: 343.1 kB / 0.5071 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009817/0.2846, allocations: 8 MB / 0.515 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02483/0.3095, allocations: 22.01 MB / 0.5364 GB, free: 6.008 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006147/0.3156, allocations: 4.555 MB / 0.5409 GB, free: 1.559 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.3171, allocations: 1.479 MB / 0.5423 GB, free: 80 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.3173, allocations: 57.95 kB / 0.5424 GB, free: 20 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.3173, allocations: 68.48 kB / 0.5425 GB, free: 15.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=214): time 4.318e-06/0.3173, allocations: 0 / 0.5425 GB, free: 15.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=214): time 0.003721/0.321, allocations: 3.457 MB / 0.5458 GB, free: 12.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.3211, allocations: 103.1 kB / 0.5459 GB, free: 12.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.323, allocations: 1.988 MB / 0.5479 GB, free: 10.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/0.3231, allocations: 57.7 kB / 0.5479 GB, free: 10.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000994/0.3241, allocations: 2.257 MB / 0.5501 GB, free: 8.023 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.3245, allocations: 0.767 MB / 0.5509 GB, free: 7.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007141/0.3253, allocations: 0.7069 MB / 0.5516 GB, free: 6.535 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.3253, allocations: 301.1 kB / 0.5519 GB, free: 6.238 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.3269, allocations: 1.568 MB / 0.5534 GB, free: 4.668 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.3292, allocations: 3.192 MB / 0.5565 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/0.3339, allocations: 5.079 MB / 0.5615 GB, free: 10.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/0.334, allocations: 16 kB / 0.5615 GB, free: 10.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00542/0.3394, allocations: 4.891 MB / 0.5663 GB, free: 5.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.3394, allocations: 28 kB / 0.5663 GB, free: 5.902 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.115e-05/0.3395, allocations: 56 kB / 0.5663 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.18e-05/0.3395, allocations: 79.94 kB / 0.5664 GB, free: 5.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.3412, allocations: 0.9164 MB / 0.5673 GB, free: 4.852 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.353e-05/0.3413, allocations: 111.8 kB / 0.5674 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.3428, allocations: 485 kB / 0.5679 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.343, allocations: 192 kB / 0.5681 GB, free: 4.078 MB / 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.002942/0.3459, allocations: 2.074 MB / 0.5701 GB, free: 1.992 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.3462, allocations: 194.7 kB / 0.5703 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.3495, allocations: 3.099 MB / 0.5733 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.3495, allocations: 27.94 kB / 0.5733 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3495, allocations: 1.5 kB / 0.5733 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.3495, allocations: 15.95 kB / 0.5733 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007974/0.3575, allocations: 7.564 MB / 0.5807 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.3575, allocations: 16.19 kB / 0.5807 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.3586, allocations: 0.5695 MB / 0.5813 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.411e-05/0.3586, allocations: 31.94 kB / 0.5813 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.3587, allocations: 71.98 kB / 0.5814 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.366e-05/0.3587, allocations: 39.86 kB / 0.5814 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/0.3587, allocations: 23.94 kB / 0.5815 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/0.3633, allocations: 5.155 MB / 0.5865 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007417/0.3641, allocations: 489.8 kB / 0.587 GB, free: 100 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.3642, allocations: 75.98 kB / 0.587 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/0.3648, allocations: 123.9 kB / 0.5871 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.3651, allocations: 229.2 kB / 0.5874 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-05/0.3651, allocations: 95.97 kB / 0.5875 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001277/0.3664, allocations: 1.298 MB / 0.5887 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3664, allocations: 8 kB / 0.5887 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003011/0.3694, allocations: 1.195 MB / 0.5899 GB, free: 13.08 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.000325/0.3698, allocations: 238.4 kB / 0.5901 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003479/0.3732, allocations: 3.47 MB / 0.5935 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.3732, allocations: 8.062 kB / 0.5935 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.3747, allocations: 1.47 MB / 0.595 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.3762, allocations: 488.9 kB / 0.5954 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.3863, allocations: 8.92 MB / 0.6041 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/0.3886, allocations: 3.019 MB / 0.6071 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/0.3892, allocations: 260.4 kB / 0.6073 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.654e-06/0.3892, allocations: 0 / 0.6073 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.2493/0.6385, allocations: 56.07 MB / 0.6621 GB, free: 146.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.172937016002834]