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.001495/0.001495, allocations: 85.97 kB / 20.68 MB, free: 1.035 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.001534/0.001534, allocations: 159.1 kB / 23.95 MB, free: 4.168 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.471/1.471, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 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.216/0.216, allocations: 34.25 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] 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 1.302e-06/1.302e-06, allocations: 0 / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.431e-05, allocations: 2.281 kB / 442.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.1979/0.1979, allocations: 5.791 MB / 448.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.202, allocations: 2.129 MB / 450.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.2024, allocations: 23.22 kB / 450.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003086/0.2055, allocations: 1.492 MB / 452.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.2071, allocations: 0.7254 MB / 452.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2083, allocations: 0.5702 MB / 453.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.2094, allocations: 1.227 MB / 454.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.2107, allocations: 0.8432 MB / 455.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.2116, allocations: 0.726 MB / 456.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.2123, allocations: 492.4 kB / 456.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.2125, allocations: 105.8 kB / 456.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006117/0.2131, allocations: 282.5 kB / 457 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.2133, allocations: 264.8 kB / 457.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005005/0.2138, allocations: 388.6 kB / 457.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.2154, allocations: 1.543 MB / 459.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2154, allocations: 4 kB / 459.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2154, allocations: 1.438 kB / 459.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.2154, allocations: 0 / 459.2 MB, free: 11.34 MB / 366.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.004321/0.2198, allocations: 1.604 MB / 460.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2198, allocations: 9 kB / 460.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00878/0.2286, allocations: 1.115 MB / 462 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.2295, allocations: 484.9 kB / 462.4 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.2296, allocations: 85.95 kB / 462.5 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.2298, allocations: 120.9 kB / 462.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.2325, allocations: 1.449 MB / 464.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.2325, allocations: 3.672 kB / 464.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.2326, allocations: 52.75 kB / 464.1 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.2326, allocations: 31.81 kB / 464.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/0.2357, allocations: 1.418 MB / 465.6 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006179/0.2419, allocations: 3.512 MB / 469.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.2449, allocations: 1.001 MB / 470.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009816/0.2459, allocations: 395.6 kB / 470.5 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.246, allocations: 30.94 kB / 470.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.246, allocations: 51.84 kB / 470.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.106e-06/0.246, allocations: 0 / 470.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.003945/0.25, allocations: 1.167 MB / 471.7 MB, free: 5.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.2501, allocations: 250.4 kB / 472 MB, free: 4.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000587/0.2506, allocations: 443.3 kB / 472.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.2507, allocations: 42.02 kB / 472.4 MB, free: 4.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.2509, allocations: 485.8 kB / 472.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.2511, allocations: 300.1 kB / 473.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003236/0.2514, allocations: 198.8 kB / 473.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.2515, allocations: 363.3 kB / 473.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008964/0.2524, allocations: 381.2 kB / 474.1 MB, free: 3.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.2536, allocations: 0.7155 MB / 474.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.2556, allocations: 1.057 MB / 475.9 MB, free: 1.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.2556, allocations: 10.28 kB / 475.9 MB, free: 1.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003047/0.2587, allocations: 1.184 MB / 477.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.2587, allocations: 8.625 kB / 477.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/0.2587, allocations: 8.375 kB / 477.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/0.259, allocations: 35.44 kB / 477.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.2609, allocations: 294.6 kB / 477.4 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-05/0.2609, allocations: 22.11 kB / 477.5 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.2624, allocations: 135.8 kB / 477.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.2626, allocations: 53.22 kB / 477.6 MB, free: 0.9961 MB / 366.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.0007335/0.2633, allocations: 258.8 kB / 477.9 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/0.2638, allocations: 65.3 kB / 478 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.2673, allocations: 1.004 MB / 479 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.2673, allocations: 12.59 kB / 479 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.2673, allocations: 2.562 kB / 479 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.2674, allocations: 14.28 kB / 479 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006187/0.2736, allocations: 2.014 MB / 481 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.2736, allocations: 2.188 kB / 481 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.2752, allocations: 210.9 kB / 481.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001665/0.2754, allocations: 34.25 kB / 481.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.2755, allocations: 23.92 kB / 481.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/0.2755, allocations: 4.625 kB / 481.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.2755, allocations: 6.562 kB / 481.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/0.281, allocations: 1.821 MB / 483.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.2812, allocations: 71.36 kB / 483.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.2814, allocations: 23.94 kB / 483.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.2828, allocations: 67.92 kB / 483.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.2831, allocations: 71.81 kB / 483.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.2832, allocations: 31.98 kB / 483.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005927/0.2838, allocations: 299.1 kB / 483.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2838, allocations: 0 / 483.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002066/0.2859, allocations: 311.2 kB / 484 MB, free: 12.12 MB / 382.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.0004215/0.2863, allocations: 151.1 kB / 484.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.2899, allocations: 0.9137 MB / 485 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2899, allocations: 8.812 kB / 485 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.2917, allocations: 444.2 kB / 485.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.2932, allocations: 93.94 kB / 485.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.2978, allocations: 1.626 MB / 487.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.2984, allocations: 397.5 kB / 487.6 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005915/0.299, allocations: 121.5 kB / 487.7 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.2993, allocations: 88.45 kB / 487.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2993, allocations: 0 / 487.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of Templates: time 0.02047/0.3198, allocations: 9.473 MB / 497.3 MB, free: 14.86 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] 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.374986380338669]