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.001631/0.001631, allocations: 113.1 kB / 21.85 MB, free: 72 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.001482/0.001482, allocations: 213.1 kB / 25.13 MB, free: 3.586 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.474/1.474, allocations: 230.4 MB / 258.7 MB, free: 8.062 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.2385/0.2385, allocations: 46.93 MB / 362 MB, free: 4.227 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.002382/0.002382, allocations: 83.88 kB / 0.4978 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3553, allocations: 66.07 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008409/0.3637, allocations: 6.557 MB / 0.5687 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.3684, allocations: 2.255 MB / 0.5709 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.3691, allocations: 16 kB / 0.5709 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003763/0.3729, allocations: 1.517 MB / 0.5724 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.3752, allocations: 0.7222 MB / 0.5731 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.3768, allocations: 0.598 MB / 0.5737 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.3785, allocations: 1.178 MB / 0.5749 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.3798, allocations: 0.8672 MB / 0.5757 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.3806, allocations: 0.506 MB / 0.5762 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008627/0.3815, allocations: 0.6264 MB / 0.5768 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.3817, allocations: 108 kB / 0.5769 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.3824, allocations: 287.8 kB / 0.5772 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.3826, allocations: 255.1 kB / 0.5774 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006204/0.3832, allocations: 0.5636 MB / 0.578 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.3852, allocations: 1.529 MB / 0.5795 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3852, allocations: 0 / 0.5795 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3852, allocations: 0 / 0.5795 GB, free: 2.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.3852, allocations: 0 / 0.5795 GB, free: 2.625 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.004405/0.3896, allocations: 1.616 MB / 0.5811 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3897, allocations: 12.03 kB / 0.5811 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008287/0.398, allocations: 1.12 MB / 0.5822 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.3992, allocations: 492.3 kB / 0.5826 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.123e-05/0.3993, allocations: 86.7 kB / 0.5827 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.3995, allocations: 108.4 kB / 0.5828 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.4023, allocations: 1.46 MB / 0.5842 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.4024, allocations: 0 / 0.5842 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.4025, allocations: 52 kB / 0.5843 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.4025, allocations: 28 kB / 0.5843 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/0.4055, allocations: 1.429 MB / 0.5857 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00736/0.4129, allocations: 4.015 MB / 0.5896 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.4158, allocations: 1.015 MB / 0.5906 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/0.4168, allocations: 385 kB / 0.591 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.417, allocations: 31.95 kB / 0.591 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.417, allocations: 50.5 kB / 0.5911 GB, free: 6.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.416e-06/0.417, allocations: 0 / 0.5911 GB, free: 6.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.00319/0.4202, allocations: 1.173 MB / 0.5922 GB, free: 5.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.4203, allocations: 239.3 kB / 0.5924 GB, free: 4.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.4211, allocations: 0.5644 MB / 0.593 GB, free: 4.359 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/0.4212, allocations: 37.7 kB / 0.593 GB, free: 4.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.4215, allocations: 480 kB / 0.5935 GB, free: 3.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.4218, allocations: 309.3 kB / 0.5938 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/0.4221, allocations: 198.8 kB / 0.594 GB, free: 3.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.4223, allocations: 386.7 kB / 0.5943 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000915/0.4233, allocations: 374.4 kB / 0.5947 GB, free: 2.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.4245, allocations: 0.726 MB / 0.5954 GB, free: 1.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.4266, allocations: 1.054 MB / 0.5964 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4266, allocations: 3.938 kB / 0.5964 GB, free: 0.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0027/0.4293, allocations: 1.201 MB / 0.5976 GB, free: 15.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.4293, allocations: 8 kB / 0.5976 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.4293, allocations: 8 kB / 0.5976 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.4295, allocations: 40.78 kB / 0.5977 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.4307, allocations: 287.6 kB / 0.5979 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.4307, allocations: 23.86 kB / 0.598 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/0.4316, allocations: 151.2 kB / 0.5981 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.15e-05/0.4317, allocations: 51.98 kB / 0.5982 GB, free: 14.77 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.0004487/0.4321, allocations: 249.5 kB / 0.5984 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.4323, allocations: 71.58 kB / 0.5985 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.4349, allocations: 1.04 MB / 0.5995 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.4349, allocations: 12 kB / 0.5995 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.435, allocations: 8 kB / 0.5995 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.435, allocations: 3.984 kB / 0.5995 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004557/0.4395, allocations: 2.275 MB / 0.6017 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.4395, allocations: 7.938 kB / 0.6017 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009997/0.4405, allocations: 223.7 kB / 0.602 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.4407, allocations: 32.81 kB / 0.602 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-05/0.4407, allocations: 23.98 kB / 0.602 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.4408, allocations: 4 kB / 0.602 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4408, allocations: 4 kB / 0.602 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/0.4441, allocations: 1.835 MB / 0.6038 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.4444, allocations: 91.38 kB / 0.6039 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.4445, allocations: 16 kB / 0.6039 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008331/0.4453, allocations: 59.94 kB / 0.604 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.4455, allocations: 71.86 kB / 0.604 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.4456, allocations: 39.92 kB / 0.6041 GB, free: 8.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005451/0.4461, allocations: 402.7 kB / 0.6045 GB, free: 8.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4461, allocations: 0 / 0.6045 GB, free: 8.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00112/0.4472, allocations: 291.4 kB / 0.6047 GB, free: 7.941 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.0002897/0.4475, allocations: 159 kB / 0.6049 GB, free: 7.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.4499, allocations: 0.9085 MB / 0.6058 GB, free: 6.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4499, allocations: 0 / 0.6058 GB, free: 6.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.451, allocations: 436.3 kB / 0.6062 GB, free: 6.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.452, allocations: 102.4 kB / 0.6063 GB, free: 6.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.4551, allocations: 1.765 MB / 0.608 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/0.4559, allocations: 0.9841 MB / 0.609 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000522/0.4564, allocations: 138.2 kB / 0.6091 GB, free: 3.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.4567, allocations: 91.39 kB / 0.6092 GB, free: 3.297 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4567, allocations: 0 / 0.6092 GB, free: 3.297 MB / 446.1 MB Notification: Performance of Templates: time 0.02115/0.4778, allocations: 10.92 MB / 0.6199 GB, free: 8.414 MB / 462.1 MB " [Timeout remaining time 660] 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 -s gbode -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/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-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: 5.731005463050678]