Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.00178/0.00178, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002615/0.002615, allocations: 212.6 kB / 24.49 MB, free: 3.938 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2252/0.2252, allocations: 46.96 MB / 361.6 MB, free: 4.039 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.91 kB / 0.4973 GB, free: 7.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3038, allocations: 66.02 MB / 0.5618 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.005633/0.3095, allocations: 5.792 MB / 0.5675 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003634/0.3131, allocations: 2.122 MB / 0.5695 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004308/0.3135, allocations: 21.34 kB / 0.5696 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.3163, allocations: 1.415 MB / 0.5709 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.3181, allocations: 0.7106 MB / 0.5716 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3193, allocations: 0.5658 MB / 0.5722 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.3207, allocations: 1.171 MB / 0.5733 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.322, allocations: 0.8639 MB / 0.5742 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006905/0.3227, allocations: 0.5132 MB / 0.5747 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/0.3234, allocations: 0.6197 MB / 0.5753 GB, free: 25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.3235, allocations: 106.9 kB / 0.5754 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007396/0.3243, allocations: 291.1 kB / 0.5757 GB, free: 24.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.3244, allocations: 261.4 kB / 0.5759 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.3248, allocations: 468.9 kB / 0.5764 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.3264, allocations: 1.53 MB / 0.5779 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3264, allocations: 1.188 kB / 0.5779 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3264, allocations: 0 / 0.5779 GB, free: 23.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.3264, allocations: 0 / 0.5779 GB, free: 23.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004366/0.3308, allocations: 1.613 MB / 0.5794 GB, free: 22.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3309, allocations: 9.656 kB / 0.5794 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008717/0.3396, allocations: 1.125 MB / 0.5805 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.3409, allocations: 486.5 kB / 0.581 GB, free: 22.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/0.341, allocations: 90.36 kB / 0.5811 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.3412, allocations: 112.2 kB / 0.5812 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/0.344, allocations: 1.457 MB / 0.5826 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.061e-05/0.344, allocations: 1.859 kB / 0.5826 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.3442, allocations: 50.97 kB / 0.5827 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.3442, allocations: 28.59 kB / 0.5827 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/0.3472, allocations: 1.417 MB / 0.5841 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006541/0.3538, allocations: 3.52 MB / 0.5875 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.3565, allocations: 1.011 MB / 0.5885 GB, free: 18.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008333/0.3574, allocations: 382 kB / 0.5889 GB, free: 18.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.3575, allocations: 30.39 kB / 0.5889 GB, free: 18.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3575, allocations: 50.42 kB / 0.5889 GB, free: 18.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.757e-06/0.3575, allocations: 4 kB / 0.5889 GB, free: 18.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.003047/0.3606, allocations: 1.158 MB / 0.5901 GB, free: 17.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.3606, allocations: 245.3 kB / 0.5903 GB, free: 17.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.3611, allocations: 446.8 kB / 0.5907 GB, free: 17.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.3612, allocations: 45.08 kB / 0.5908 GB, free: 17.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.3614, allocations: 491.8 kB / 0.5913 GB, free: 16.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.3616, allocations: 305.8 kB / 0.5915 GB, free: 16.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.3619, allocations: 196.6 kB / 0.5917 GB, free: 16.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.3619, allocations: 368.7 kB / 0.5921 GB, free: 16.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008564/0.3628, allocations: 387.4 kB / 0.5925 GB, free: 16.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009469/0.3637, allocations: 0.7124 MB / 0.5931 GB, free: 15.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.3656, allocations: 1.054 MB / 0.5942 GB, free: 14.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.3656, allocations: 2.312 kB / 0.5942 GB, free: 14.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002424/0.368, allocations: 1.187 MB / 0.5953 GB, free: 14.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.368, allocations: 8.469 kB / 0.5953 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.368, allocations: 9.312 kB / 0.5954 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.3682, allocations: 44 kB / 0.5954 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.3694, allocations: 281.6 kB / 0.5957 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.3694, allocations: 18.75 kB / 0.5957 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009087/0.3703, allocations: 151.7 kB / 0.5958 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/0.3704, allocations: 55.33 kB / 0.5959 GB, free: 14.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003721/0.3708, allocations: 251 kB / 0.5961 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.371, allocations: 62.61 kB / 0.5962 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.3734, allocations: 1.016 MB / 0.5972 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.3734, allocations: 11.03 kB / 0.5972 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3734, allocations: 1.125 kB / 0.5972 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.3736, allocations: 69.66 kB / 0.5973 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.3737, allocations: 23.34 kB / 0.5973 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/0.3745, allocations: 63.64 kB / 0.5973 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.3747, allocations: 73.72 kB / 0.5974 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002662/0.3773, allocations: 1.453 MB / 0.5988 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002902/0.3802, allocations: 1.88 MB / 0.6007 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008866/0.3811, allocations: 407.9 kB / 0.601 GB, free: 11.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003733/0.3815, allocations: 298.8 kB / 0.6013 GB, free: 11.36 MB / 446.1 MB Notification: Performance of Backend: time 7.31e-07/0.3815, allocations: 0 / 0.6013 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002551/0.384, allocations: 0.7671 MB / 0.6021 GB, free: 10.95 MB / 446.1 MB Notification: Performance of SimCode: time 0.002388/0.3864, allocations: 2.001 MB / 0.604 GB, free: 9.465 MB / 446.1 MB Notification: Performance of Templates: time 0.02384/0.4103, allocations: 17.23 MB / 0.6209 GB, free: 9.488 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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: 5.512951350006915]