Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.00186/0.00186, allocations: 113.1 kB / 21.86 MB, free: 88 kB / 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.002179/0.002179, allocations: 211.8 kB / 25.14 MB, free: 3.598 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.521/1.521, allocations: 230.2 MB / 258.5 MB, free: 8.293 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.2407/0.2407, allocations: 46.89 MB / 361.8 MB, free: 4.469 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|iL|iLL|vC|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|iL|iLL|vC|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003031/0.003031, allocations: 87.84 kB / 0.4974 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3153, allocations: 66.02 MB / 0.5619 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008354/0.3236, allocations: 6.578 MB / 0.5683 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004641/0.3283, allocations: 2.247 MB / 0.5705 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007045/0.329, allocations: 23.94 kB / 0.5705 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.3327, allocations: 1.527 MB / 0.572 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.3351, allocations: 0.7154 MB / 0.5727 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.3365, allocations: 0.595 MB / 0.5733 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.338, allocations: 1.178 MB / 0.5744 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.3393, allocations: 0.7266 MB / 0.5752 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007242/0.34, allocations: 0.506 MB / 0.5756 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007515/0.3407, allocations: 0.6225 MB / 0.5763 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.3409, allocations: 104 kB / 0.5764 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.3415, allocations: 283.8 kB / 0.5766 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.3418, allocations: 267 kB / 0.5769 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006175/0.3424, allocations: 0.552 MB / 0.5774 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.3447, allocations: 1.521 MB / 0.5789 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3447, allocations: 0 / 0.5789 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3447, allocations: 4 kB / 0.5789 GB, free: 3.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.3448, allocations: 0 / 0.5789 GB, free: 3.133 MB / 414.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.004788/0.3495, allocations: 1.608 MB / 0.5805 GB, free: 1.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.3496, allocations: 8.031 kB / 0.5805 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008453/0.3581, allocations: 1.12 MB / 0.5816 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.3596, allocations: 492.4 kB / 0.582 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.3597, allocations: 90.69 kB / 0.5821 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/0.36, allocations: 116.4 kB / 0.5822 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.3629, allocations: 1.352 MB / 0.5836 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.363, allocations: 8 kB / 0.5836 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.3631, allocations: 44 kB / 0.5836 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.3631, allocations: 28 kB / 0.5836 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003139/0.3663, allocations: 1.429 MB / 0.585 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007673/0.3739, allocations: 4.019 MB / 0.589 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.3768, allocations: 1.021 MB / 0.59 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009181/0.3778, allocations: 380.9 kB / 0.5903 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3779, allocations: 43.94 kB / 0.5904 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.3779, allocations: 46.5 kB / 0.5904 GB, free: 7.031 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.946e-06/0.3779, allocations: 0 / 0.5904 GB, free: 7.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003287/0.3812, allocations: 1.173 MB / 0.5916 GB, free: 5.852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.3813, allocations: 239.3 kB / 0.5918 GB, free: 5.562 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007543/0.3821, allocations: 0.5644 MB / 0.5923 GB, free: 4.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.3822, allocations: 37.7 kB / 0.5924 GB, free: 4.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.3825, allocations: 480.1 kB / 0.5928 GB, free: 4.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.3828, allocations: 305.3 kB / 0.5931 GB, free: 4.168 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.3831, allocations: 198.8 kB / 0.5933 GB, free: 3.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3833, allocations: 382.7 kB / 0.5937 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009409/0.3843, allocations: 382.4 kB / 0.594 GB, free: 3.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.3855, allocations: 0.664 MB / 0.5947 GB, free: 2.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.3876, allocations: 1.054 MB / 0.5957 GB, free: 1.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3876, allocations: 4 kB / 0.5957 GB, free: 1.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002688/0.3903, allocations: 1.196 MB / 0.5969 GB, free: 40 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.3903, allocations: 12 kB / 0.5969 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.3903, allocations: 8 kB / 0.5969 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.3905, allocations: 41.44 kB / 0.5969 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.3917, allocations: 287.6 kB / 0.5972 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-05/0.3917, allocations: 19.88 kB / 0.5972 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008887/0.3926, allocations: 151.1 kB / 0.5974 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/0.3927, allocations: 51.97 kB / 0.5974 GB, free: 15.48 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.0004283/0.3932, allocations: 254.8 kB / 0.5977 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.3934, allocations: 71.58 kB / 0.5977 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.396, allocations: 1.043 MB / 0.5988 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.396, allocations: 3.984 kB / 0.5988 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.396, allocations: 0 / 0.5988 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.3961, allocations: 87.38 kB / 0.5988 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.3962, allocations: 20 kB / 0.5989 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008103/0.397, allocations: 63.94 kB / 0.5989 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.3972, allocations: 79.8 kB / 0.599 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003033/0.4002, allocations: 1.449 MB / 0.6004 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003398/0.4036, allocations: 1.898 MB / 0.6023 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000966/0.4046, allocations: 398.8 kB / 0.6027 GB, free: 10.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005537/0.4052, allocations: 398.8 kB / 0.603 GB, free: 9.688 MB / 446.1 MB Notification: Performance of Backend: time 3e-07/0.4052, allocations: 0 / 0.603 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.4078, allocations: 0.7728 MB / 0.6038 GB, free: 8.906 MB / 446.1 MB Notification: Performance of SimCode: time 0.002919/0.4107, allocations: 2.022 MB / 0.6058 GB, free: 6.828 MB / 446.1 MB Notification: Performance of Templates: time 0.03137/0.4421, allocations: 15.98 MB / 0.6214 GB, free: 6.879 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.778921784833074]