Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001314/0.001314, allocations: 121.2 kB / 18.5 MB, free: 4.578 MB / 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.001446/0.001446, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.689/1.689, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2521/0.2521, allocations: 46.93 MB / 357.7 MB, free: 10.19 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 79.88 kB / 0.4921 GB, free: 7.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1934, allocations: 66.05 MB / 0.5566 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.01035/0.2038, allocations: 6.581 MB / 0.5631 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.2098, allocations: 2.267 MB / 0.5653 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.2108, allocations: 23.94 kB / 0.5653 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004478/0.2153, allocations: 1.532 MB / 0.5668 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.2186, allocations: 0.7104 MB / 0.5675 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.2212, allocations: 0.5957 MB / 0.5681 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.2243, allocations: 1.174 MB / 0.5692 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.2259, allocations: 0.7195 MB / 0.5699 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.227, allocations: 0.5138 MB / 0.5704 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007717/0.2277, allocations: 0.6147 MB / 0.571 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.2279, allocations: 108 kB / 0.5711 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007415/0.2286, allocations: 291.8 kB / 0.5714 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.2289, allocations: 255 kB / 0.5716 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.2295, allocations: 0.5636 MB / 0.5722 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.2317, allocations: 1.518 MB / 0.5737 GB, free: 3.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.2317, allocations: 7.875 kB / 0.5737 GB, free: 3.488 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2317, allocations: 0 / 0.5737 GB, free: 3.488 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.2317, allocations: 0 / 0.5737 GB, free: 3.488 MB / 430.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.004991/0.2367, allocations: 1.688 MB / 0.5753 GB, free: 1.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2367, allocations: 12.03 kB / 0.5753 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008482/0.2452, allocations: 1.124 MB / 0.5764 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.2466, allocations: 0.5299 MB / 0.577 GB, free: 36 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2467, allocations: 90.78 kB / 0.577 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.247, allocations: 112.4 kB / 0.5772 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.2499, allocations: 1.352 MB / 0.5785 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.2499, allocations: 0 / 0.5785 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.25, allocations: 48 kB / 0.5785 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.2501, allocations: 32 kB / 0.5786 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.2532, allocations: 1.433 MB / 0.58 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009969/0.2632, allocations: 5.632 MB / 0.5855 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.2671, allocations: 2.071 MB / 0.5875 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.2682, allocations: 396.8 kB / 0.5879 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.2685, allocations: 194.1 kB / 0.588 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/0.2686, allocations: 46.5 kB / 0.5881 GB, free: 3.727 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.817e-06/0.2686, allocations: 0 / 0.5881 GB, free: 3.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.004238/0.2728, allocations: 1.24 MB / 0.5893 GB, free: 2.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003258/0.2732, allocations: 255.2 kB / 0.5895 GB, free: 2.156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.2742, allocations: 0.5645 MB / 0.5901 GB, free: 1.578 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.82e-05/0.2743, allocations: 41.7 kB / 0.5901 GB, free: 1.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006654/0.275, allocations: 468.1 kB / 0.5906 GB, free: 1.066 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/0.2755, allocations: 305.4 kB / 0.5909 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004578/0.276, allocations: 198.8 kB / 0.5911 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002537/0.2762, allocations: 374.7 kB / 0.5914 GB, free: 196 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4071/0.6833, allocations: 385 kB / 0.5918 GB, free: 33.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.6847, allocations: 0.6658 MB / 0.5924 GB, free: 33.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.6871, allocations: 1.047 MB / 0.5935 GB, free: 32.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.6871, allocations: 1.969 kB / 0.5935 GB, free: 32.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002768/0.6898, allocations: 1.203 MB / 0.5946 GB, free: 32.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.6899, allocations: 9.578 kB / 0.5946 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.6899, allocations: 8.219 kB / 0.5946 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.6901, allocations: 38.78 kB / 0.5947 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.6912, allocations: 286.4 kB / 0.595 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.002e-05/0.6913, allocations: 24.2 kB / 0.595 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009889/0.6923, allocations: 157.8 kB / 0.5951 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.6924, allocations: 49 kB / 0.5952 GB, free: 32.7 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.0005011/0.6929, allocations: 254.4 kB / 0.5954 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/0.6932, allocations: 72.91 kB / 0.5955 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.696, allocations: 1.022 MB / 0.5965 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.696, allocations: 13.84 kB / 0.5965 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.696, allocations: 3.891 kB / 0.5965 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.696, allocations: 5.031 kB / 0.5965 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004765/0.7008, allocations: 2.319 MB / 0.5988 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.7008, allocations: 0.7188 kB / 0.5988 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.7019, allocations: 225.1 kB / 0.599 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.702, allocations: 25.61 kB / 0.599 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/0.7021, allocations: 25.48 kB / 0.599 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.7021, allocations: 4.844 kB / 0.599 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.7021, allocations: 5.469 kB / 0.599 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.7059, allocations: 1.844 MB / 0.6008 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.7062, allocations: 160.9 kB / 0.601 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.7063, allocations: 19.61 kB / 0.601 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.7072, allocations: 61.38 kB / 0.6011 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.7075, allocations: 80.19 kB / 0.6012 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/0.7075, allocations: 28.23 kB / 0.6012 GB, free: 30.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006445/0.7082, allocations: 403.1 kB / 0.6016 GB, free: 30.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7082, allocations: 0 / 0.6016 GB, free: 30.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0015/0.7097, allocations: 294.8 kB / 0.6018 GB, free: 30.11 MB / 446.1 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.0002954/0.71, allocations: 158.5 kB / 0.602 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.7126, allocations: 0.9915 MB / 0.603 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7126, allocations: 0 / 0.603 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.7138, allocations: 0.5115 MB / 0.6035 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.7148, allocations: 97.31 kB / 0.6036 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.7181, allocations: 1.753 MB / 0.6053 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.7186, allocations: 0.9796 MB / 0.6062 GB, free: 27.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005352/0.7192, allocations: 135.6 kB / 0.6064 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.7195, allocations: 86.36 kB / 0.6064 GB, free: 27.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7195, allocations: 0 / 0.6064 GB, free: 27.55 MB / 446.1 MB Notification: Performance of Templates: time 0.02149/0.741, allocations: 10.4 MB / 0.6166 GB, free: 24.96 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 6.509681211784482]