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.002079/0.002079, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002846/0.002846, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.604/1.604, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 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.3585/0.3585, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.227e-05, allocations: 2.312 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.009833/0.009865, allocations: 6.312 MB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005617/0.01548, allocations: 2.181 MB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.01652, allocations: 19.94 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004461/0.02099, allocations: 1.606 MB / 387.3 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.02405, allocations: 0.7301 MB / 388.1 MB, free: 7.996 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.02584, allocations: 0.5758 MB / 388.6 MB, free: 7.422 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.02803, allocations: 1.228 MB / 389.9 MB, free: 6.188 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.02961, allocations: 0.8405 MB / 390.7 MB, free: 5.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.0308, allocations: 0.7249 MB / 391.4 MB, free: 4.594 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008148/0.03162, allocations: 0.4947 MB / 391.9 MB, free: 4.098 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.03179, allocations: 108 kB / 392 MB, free: 3.992 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009164/0.03271, allocations: 283.6 kB / 392.3 MB, free: 3.715 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.03309, allocations: 271 kB / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.03369, allocations: 394.9 kB / 393 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.03625, allocations: 1.549 MB / 394.5 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.03626, allocations: 4 kB / 394.5 MB, free: 1.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03626, allocations: 4 kB / 394.5 MB, free: 1.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.03628, allocations: 0 / 394.5 MB, free: 1.5 MB / 362.7 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.004821/0.0411, allocations: 1.759 MB / 396.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.04115, allocations: 12.03 kB / 396.3 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008565/0.04972, allocations: 1.397 MB / 397.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.05087, allocations: 498.3 kB / 398.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.05098, allocations: 86.7 kB / 398.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.05119, allocations: 124.3 kB / 398.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.05409, allocations: 1.486 MB / 399.9 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.05412, allocations: 192 / 399.9 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.05425, allocations: 48.38 kB / 399.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.05428, allocations: 31.94 kB / 399.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002944/0.05723, allocations: 1.331 MB / 401.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008218/0.06545, allocations: 4.216 MB / 405.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/0.06852, allocations: 1.026 MB / 406.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007975/0.06932, allocations: 365.8 kB / 406.9 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.06945, allocations: 43.97 kB / 406.9 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.0695, allocations: 54.08 kB / 407 MB, free: 4.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.0695, allocations: 4 kB / 407 MB, free: 4.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.003056/0.07256, allocations: 1.072 MB / 408 MB, free: 3.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/0.07273, allocations: 239.3 kB / 408.3 MB, free: 3.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.07349, allocations: 0.557 MB / 408.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/0.07355, allocations: 41.7 kB / 408.9 MB, free: 2.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.07402, allocations: 0.5416 MB / 409.4 MB, free: 2.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.07435, allocations: 317.4 kB / 409.7 MB, free: 1.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.07472, allocations: 224.5 kB / 409.9 MB, free: 1.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003649/0.07509, allocations: 0.5743 MB / 410.5 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000825/0.07591, allocations: 334.5 kB / 410.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.07717, allocations: 0.8093 MB / 411.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.07921, allocations: 1.102 MB / 412.8 MB, free: 14.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.07922, allocations: 7.938 kB / 412.8 MB, free: 14.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002592/0.08181, allocations: 1.156 MB / 413.9 MB, free: 13.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.08184, allocations: 8 kB / 413.9 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.08185, allocations: 8 kB / 413.9 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.08204, allocations: 43.66 kB / 414 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.08325, allocations: 267.6 kB / 414.2 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.041e-05/0.08328, allocations: 20.27 kB / 414.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.08433, allocations: 115.3 kB / 414.4 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.08443, allocations: 59.91 kB / 414.4 MB, free: 12.72 MB / 394.7 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.0005928/0.08503, allocations: 304.1 kB / 414.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.0853, allocations: 87.62 kB / 414.8 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.08758, allocations: 0.9413 MB / 415.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.08759, allocations: 8 kB / 415.8 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.0876, allocations: 8 kB / 415.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.08762, allocations: 7.922 kB / 415.8 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.09201, allocations: 2.282 MB / 418.1 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.09201, allocations: 4 kB / 418.1 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009534/0.09297, allocations: 207.7 kB / 418.3 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.09309, allocations: 31.66 kB / 418.3 MB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.09315, allocations: 27.97 kB / 418.3 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.09316, allocations: 4 kB / 418.3 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.09317, allocations: 7.938 kB / 418.3 MB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/0.09644, allocations: 1.994 MB / 420.3 MB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.09657, allocations: 63.47 kB / 420.4 MB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.09671, allocations: 27.94 kB / 420.4 MB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.09743, allocations: 43.97 kB / 420.5 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.09765, allocations: 79.8 kB / 420.5 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.09771, allocations: 27.98 kB / 420.6 MB, free: 6.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004706/0.09818, allocations: 363 kB / 420.9 MB, free: 6.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09818, allocations: 0 / 420.9 MB, free: 6.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001252/0.09943, allocations: 307.2 kB / 421.2 MB, free: 5.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma,currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_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 (93): * Single equations (assignments): 92 * 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 Backend phase and start with SimCode phase: time 0.0003441/0.09978, allocations: 151.8 kB / 421.4 MB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.1022, allocations: 0.9072 MB / 422.3 MB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1022, allocations: 0 / 422.3 MB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.1034, allocations: 455 kB / 422.7 MB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.1047, allocations: 122.1 kB / 422.8 MB, free: 4.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.1084, allocations: 1.684 MB / 424.5 MB, free: 2.445 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.1089, allocations: 389.6 kB / 424.9 MB, free: 2.031 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005145/0.1094, allocations: 129.4 kB / 425 MB, free: 1.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.1097, allocations: 88.39 kB / 425.1 MB, free: 1.816 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1097, allocations: 0 / 425.1 MB, free: 1.816 MB / 394.7 MB Notification: Performance of Templates: time 0.02043/0.1301, allocations: 9.537 MB / 434.7 MB, free: 8.379 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/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.938217564020306]