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.001573/0.001573, allocations: 118 kB / 18.46 MB, free: 4.613 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.001858/0.001858, allocations: 203.4 kB / 21.4 MB, free: 1.668 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.627/1.627, allocations: 227.5 MB / 251.7 MB, free: 268 kB / 190.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.2656/0.2656, allocations: 46.15 MB / 351.1 MB, free: 14.31 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.002421/0.002422, allocations: 81.14 kB / 490.2 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1698, allocations: 62.46 MB / 0.5397 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.01014/0.18, allocations: 6.554 MB / 0.5461 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006276/0.1863, allocations: 2.255 MB / 0.5483 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.1877, allocations: 20 kB / 0.5483 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004462/0.1921, allocations: 1.531 MB / 0.5498 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.1952, allocations: 0.6989 MB / 0.5505 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.1972, allocations: 0.5989 MB / 0.5511 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.1996, allocations: 1.174 MB / 0.5522 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.2019, allocations: 0.938 MB / 0.5531 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.2033, allocations: 0.5021 MB / 0.5536 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.2049, allocations: 0.6147 MB / 0.5542 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004746/0.2054, allocations: 108 kB / 0.5543 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.2069, allocations: 287.8 kB / 0.5546 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.2074, allocations: 263 kB / 0.5549 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009609/0.2084, allocations: 0.5597 MB / 0.5554 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.2111, allocations: 1.514 MB / 0.5569 GB, free: 2.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2111, allocations: 0 / 0.5569 GB, free: 2.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2111, allocations: 0 / 0.5569 GB, free: 2.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.2111, allocations: 0 / 0.5569 GB, free: 2.57 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.005274/0.2164, allocations: 1.684 MB / 0.5585 GB, free: 0.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.2165, allocations: 8.031 kB / 0.5585 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008965/0.2255, allocations: 1.132 MB / 0.5596 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.2279, allocations: 0.5376 MB / 0.5602 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.2281, allocations: 90.69 kB / 0.5602 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005249/0.2286, allocations: 116.4 kB / 0.5604 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/0.2331, allocations: 1.352 MB / 0.5617 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.782e-05/0.2332, allocations: 4 kB / 0.5617 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.2334, allocations: 44 kB / 0.5617 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.2334, allocations: 36 kB / 0.5618 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/0.2371, allocations: 1.433 MB / 0.5632 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00951/0.2466, allocations: 5.628 MB / 0.5687 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/0.2507, allocations: 2.15 MB / 0.5708 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009942/0.2517, allocations: 426.7 kB / 0.5712 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/0.252, allocations: 190.2 kB / 0.5713 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.2521, allocations: 50.44 kB / 0.5714 GB, free: 2.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.946e-06/0.2521, allocations: 0 / 0.5714 GB, free: 2.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003694/0.2558, allocations: 1.242 MB / 0.5726 GB, free: 1.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001946/0.256, allocations: 247.3 kB / 0.5728 GB, free: 1.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.257, allocations: 0.5645 MB / 0.5734 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/0.2571, allocations: 41.7 kB / 0.5734 GB, free: 0.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.2575, allocations: 472 kB / 0.5739 GB, free: 32 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/0.2578, allocations: 317.3 kB / 0.5742 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.2582, allocations: 194.8 kB / 0.5744 GB, free: 15.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.2584, allocations: 378.6 kB / 0.5747 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000999/0.2594, allocations: 390.4 kB / 0.5751 GB, free: 14.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.2607, allocations: 0.6564 MB / 0.5757 GB, free: 13.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.2631, allocations: 1.059 MB / 0.5768 GB, free: 12.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.2631, allocations: 4 kB / 0.5768 GB, free: 12.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002959/0.2661, allocations: 1.2 MB / 0.578 GB, free: 11.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.2662, allocations: 9.875 kB / 0.578 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.2662, allocations: 12.64 kB / 0.578 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.2664, allocations: 40.84 kB / 0.578 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.2676, allocations: 279.6 kB / 0.5783 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/0.2676, allocations: 27.86 kB / 0.5783 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009737/0.2686, allocations: 155 kB / 0.5785 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.2687, allocations: 51.98 kB / 0.5785 GB, free: 11.03 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.0005018/0.2693, allocations: 253.5 kB / 0.5787 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.2695, allocations: 71.56 kB / 0.5788 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.2722, allocations: 1.031 MB / 0.5798 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.2722, allocations: 12 kB / 0.5798 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2722, allocations: 0 / 0.5798 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.2722, allocations: 7.984 kB / 0.5798 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.2771, allocations: 2.313 MB / 0.5821 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.2772, allocations: 3.938 kB / 0.5821 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.2782, allocations: 215.7 kB / 0.5823 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.2783, allocations: 24.84 kB / 0.5823 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-05/0.2784, allocations: 39.97 kB / 0.5824 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.2784, allocations: 11.98 kB / 0.5824 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2784, allocations: 0 / 0.5824 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/0.2823, allocations: 1.831 MB / 0.5842 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.2825, allocations: 164.5 kB / 0.5843 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.2826, allocations: 23.94 kB / 0.5844 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/0.2835, allocations: 63.94 kB / 0.5844 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.2837, allocations: 75.83 kB / 0.5845 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.2837, allocations: 31.92 kB / 0.5845 GB, free: 4.746 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005824/0.2843, allocations: 398.8 kB / 0.5849 GB, free: 4.359 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2843, allocations: 7.875 kB / 0.5849 GB, free: 4.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001302/0.2856, allocations: 291.4 kB / 0.5852 GB, free: 4.066 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.0003358/0.286, allocations: 151 kB / 0.5853 GB, free: 3.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002643/0.2886, allocations: 1.026 MB / 0.5863 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.2887, allocations: 7.938 kB / 0.5863 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.2899, allocations: 0.5454 MB / 0.5869 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.291, allocations: 105.2 kB / 0.587 GB, free: 2.191 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.2943, allocations: 1.741 MB / 0.5887 GB, free: 408 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008482/0.2952, allocations: 0.9762 MB / 0.5896 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006046/0.2958, allocations: 146.2 kB / 0.5898 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.2961, allocations: 83.39 kB / 0.5898 GB, free: 15.18 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2961, allocations: 0 / 0.5898 GB, free: 15.18 MB / 462.1 MB Notification: Performance of Templates: time 0.02132/0.3174, allocations: 9.946 MB / 0.5996 GB, free: 5.266 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 -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.401814700104296]