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.00214/0.00214, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002046/0.002046, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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 1.608/1.608, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3881/0.3881, allocations: 34.27 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] 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 1.653e-06/1.653e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.266e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.01278/0.01282, allocations: 6.324 MB / 383.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006466/0.01928, allocations: 2.173 MB / 385.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008724/0.02016, allocations: 24 kB / 385.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005129/0.02528, allocations: 1.602 MB / 387.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.02843, allocations: 0.7223 MB / 388.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.03034, allocations: 0.5841 MB / 388.7 MB, free: 7.484 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.03254, allocations: 1.221 MB / 389.9 MB, free: 6.258 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.03447, allocations: 0.8366 MB / 390.8 MB, free: 5.398 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.03607, allocations: 0.7327 MB / 391.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.0371, allocations: 498.6 kB / 392 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.03736, allocations: 112 kB / 392.1 MB, free: 4.066 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.03807, allocations: 283.6 kB / 392.4 MB, free: 3.789 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.03835, allocations: 263 kB / 392.6 MB, free: 3.531 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.03885, allocations: 402.9 kB / 393 MB, free: 3.137 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.04089, allocations: 1.546 MB / 394.6 MB, free: 1.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.0409, allocations: 4 kB / 394.6 MB, free: 1.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0409, allocations: 0 / 394.6 MB, free: 1.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.04092, allocations: 0 / 394.6 MB, free: 1.582 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.004537/0.04545, allocations: 1.767 MB / 396.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.0455, allocations: 12.03 kB / 396.4 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008585/0.05408, allocations: 1.405 MB / 397.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.05516, allocations: 490.4 kB / 398.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.05527, allocations: 90.7 kB / 398.3 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.05549, allocations: 116.3 kB / 398.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.05836, allocations: 1.486 MB / 399.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/0.0584, allocations: 4.172 kB / 399.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.05853, allocations: 52.38 kB / 400 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.05857, allocations: 31.94 kB / 400 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/0.06152, allocations: 1.32 MB / 401.3 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008279/0.0698, allocations: 4.22 MB / 405.6 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/0.07286, allocations: 1.03 MB / 406.6 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.07364, allocations: 373.9 kB / 406.9 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.07377, allocations: 43.97 kB / 407 MB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/0.07383, allocations: 58.06 kB / 407 MB, free: 4.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 3.166e-06/0.07383, allocations: 0 / 407 MB, free: 4.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.003014/0.07685, allocations: 1.069 MB / 408.1 MB, free: 3.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.07703, allocations: 243.3 kB / 408.4 MB, free: 3.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.07773, allocations: 0.557 MB / 408.9 MB, free: 2.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.576e-05/0.0778, allocations: 41.7 kB / 409 MB, free: 2.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.07826, allocations: 0.5377 MB / 409.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.07858, allocations: 317.4 kB / 409.8 MB, free: 1.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.07897, allocations: 228.5 kB / 410 MB, free: 1.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003546/0.07933, allocations: 0.5665 MB / 410.6 MB, free: 1.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008123/0.08014, allocations: 346.5 kB / 410.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.08141, allocations: 0.8015 MB / 411.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.08343, allocations: 1.1 MB / 412.8 MB, free: 14.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.08344, allocations: 7.938 kB / 412.8 MB, free: 14.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002615/0.08606, allocations: 1.154 MB / 414 MB, free: 13.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.08608, allocations: 8 kB / 414 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.0861, allocations: 8 kB / 414 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.08628, allocations: 39.67 kB / 414 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.08759, allocations: 276.1 kB / 414.3 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/0.08761, allocations: 19.94 kB / 414.3 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/0.0885, allocations: 115.3 kB / 414.4 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/0.0886, allocations: 47.98 kB / 414.5 MB, free: 12.82 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.0005594/0.08916, allocations: 308.1 kB / 414.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.08944, allocations: 91.56 kB / 414.9 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.09179, allocations: 0.9455 MB / 415.8 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.09181, allocations: 12 kB / 415.8 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.09182, allocations: 4 kB / 415.8 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.09184, allocations: 7.922 kB / 415.9 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/0.09643, allocations: 2.289 MB / 418.1 MB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.09644, allocations: 4 kB / 418.1 MB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009389/0.09738, allocations: 203.8 kB / 418.3 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.0975, allocations: 27.67 kB / 418.4 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/0.09757, allocations: 27.98 kB / 418.4 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.09758, allocations: 7.938 kB / 418.4 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.09759, allocations: 7.938 kB / 418.4 MB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/0.1009, allocations: 1.995 MB / 420.4 MB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.1011, allocations: 67.47 kB / 420.5 MB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.1012, allocations: 23.94 kB / 420.5 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.1019, allocations: 39.97 kB / 420.5 MB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.1021, allocations: 79.86 kB / 420.6 MB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.116e-05/0.1022, allocations: 31.98 kB / 420.6 MB, free: 6.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004864/0.1027, allocations: 355.1 kB / 421 MB, free: 6.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1027, allocations: 0 / 421 MB, free: 6.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0012/0.1039, allocations: 307.2 kB / 421.3 MB, free: 5.914 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.0005668/0.1045, allocations: 166.2 kB / 421.5 MB, free: 5.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.1067, allocations: 0.8979 MB / 422.4 MB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.1067, allocations: 4 kB / 422.4 MB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009707/0.1077, allocations: 446.4 kB / 422.8 MB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009682/0.1087, allocations: 125.3 kB / 422.9 MB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.1119, allocations: 1.698 MB / 424.6 MB, free: 2.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.1123, allocations: 385.6 kB / 425 MB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005242/0.1129, allocations: 129.4 kB / 425.1 MB, free: 1.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.1131, allocations: 80.47 kB / 425.2 MB, free: 1.906 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.1131, allocations: 0 / 425.2 MB, free: 1.906 MB / 394.7 MB Notification: Performance of Templates: time 0.02099/0.1341, allocations: 9.538 MB / 434.7 MB, free: 8.465 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_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.687827875954099]