Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009834, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008959/0.0008959, allocations: 141.9 kB / 24.97 MB, free: 8.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9521/0.9521, allocations: 173.4 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.524e-05, allocations: 6.25 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003814/0.00383, allocations: 3.893 MB / 272 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.005434, allocations: 1.53 MB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.005578, allocations: 15.94 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.006528, allocations: 0.8048 MB / 274.3 MB, free: 456 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.007159, allocations: 0.5128 MB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.007713, allocations: 0.5215 MB / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.008126, allocations: 0.5481 MB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.008591, allocations: 452.1 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.008866, allocations: 351.1 kB / 276.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.009058, allocations: 227.4 kB / 276.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.009105, allocations: 52 kB / 277 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.00936, allocations: 227.7 kB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.009663, allocations: 127.5 kB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.00978, allocations: 183.5 kB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.01027, allocations: 0.5683 MB / 278.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.01028, allocations: 0 / 278.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01028, allocations: 4 kB / 278.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.01028, allocations: 4 kB / 278.1 MB, free: 12.69 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00128/0.01156, allocations: 0.9988 MB / 279.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.01159, allocations: 8.922 kB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.01329, allocations: 0.5156 MB / 279.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.01363, allocations: 297.1 kB / 279.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.01366, allocations: 49.62 kB / 279.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/0.01373, allocations: 60.38 kB / 280 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.01434, allocations: 0.5515 MB / 280.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.01436, allocations: 7.953 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.0144, allocations: 31.98 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.01441, allocations: 16 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.01487, allocations: 327.6 kB / 280.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.01657, allocations: 1.77 MB / 282.7 MB, free: 7.883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.0172, allocations: 438.6 kB / 283.1 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.01734, allocations: 107.6 kB / 283.2 MB, free: 7.328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.01739, allocations: 19.98 kB / 283.2 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.01741, allocations: 33.39 kB / 283.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.733e-06/0.01741, allocations: 8 kB / 283.3 MB, free: 7.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007323/0.01814, allocations: 444.7 kB / 283.7 MB, free: 6.812 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.01817, allocations: 59.39 kB / 283.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.0183, allocations: 249.6 kB / 284 MB, free: 6.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.01833, allocations: 33.7 kB / 284 MB, free: 6.441 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.01867, allocations: 307.4 kB / 284.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/0.01875, allocations: 163 kB / 284.5 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.662e-05/0.01885, allocations: 91.8 kB / 284.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.01896, allocations: 0.5079 MB / 285.1 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.01908, allocations: 85.58 kB / 285.2 MB, free: 5.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.01926, allocations: 232.9 kB / 285.4 MB, free: 4.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.01958, allocations: 337.3 kB / 285.7 MB, free: 4.586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01958, allocations: 0 / 285.7 MB, free: 4.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004718/0.02005, allocations: 413.3 kB / 286.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.02006, allocations: 8 kB / 286.1 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.02007, allocations: 4 kB / 286.2 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.02027, allocations: 59.64 kB / 286.2 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.02048, allocations: 92.02 kB / 286.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.02152, allocations: 2.149 MB / 288.4 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.02165, allocations: 47.72 kB / 288.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.02167, allocations: 16 kB / 288.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001761/0.02184, allocations: 207.8 kB / 288.7 MB, free: 1.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000168/0.02201, allocations: 224.5 kB / 288.9 MB, free: 1.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003001/0.02231, allocations: 343.2 kB / 289.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/0.02231, allocations: 0 / 289.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004529/0.02277, allocations: 396.6 kB / 289.7 MB, free: 412 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.02277, allocations: 12.03 kB / 289.7 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.02278, allocations: 4 kB / 289.7 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.02291, allocations: 63.64 kB / 289.7 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.02311, allocations: 95.83 kB / 289.8 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09967/0.1228, allocations: 2.136 MB / 292 MB, free: 29.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.123, allocations: 38.42 kB / 292 MB, free: 29.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.123, allocations: 22.83 kB / 292 MB, free: 29.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.1232, allocations: 296.2 kB / 292.3 MB, free: 29.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.1232, allocations: 43.67 kB / 292.4 MB, free: 29.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005586/0.1238, allocations: 390.3 kB / 292.7 MB, free: 29.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1238, allocations: 3.969 kB / 292.7 MB, free: 29.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1238, allocations: 1.766 kB / 292.7 MB, free: 29.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1238, allocations: 3.172 kB / 292.7 MB, free: 29.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.1247, allocations: 0.8564 MB / 293.6 MB, free: 28.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1247, allocations: 0.9375 kB / 293.6 MB, free: 28.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.1249, allocations: 75.5 kB / 293.7 MB, free: 28.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.125, allocations: 58.67 kB / 293.7 MB, free: 28.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.125, allocations: 15.48 kB / 293.7 MB, free: 28.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007133/0.1258, allocations: 2.129 MB / 295.9 MB, free: 26.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1258, allocations: 3.766 kB / 295.9 MB, free: 26.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005932/0.1264, allocations: 0.5698 MB / 296.4 MB, free: 26.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.1264, allocations: 64.73 kB / 296.5 MB, free: 26.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1265, allocations: 10.16 kB / 296.5 MB, free: 26.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.1266, allocations: 20.2 kB / 296.5 MB, free: 26.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.1267, allocations: 30.73 kB / 296.6 MB, free: 26.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1267, allocations: 19.02 kB / 296.6 MB, free: 26.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.148e-05/0.1267, allocations: 171.6 kB / 296.8 MB, free: 26.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1267, allocations: 0 / 296.8 MB, free: 26.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006191/0.1274, allocations: 257.6 kB / 297 MB, free: 26.42 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001912/0.1276, allocations: 141 kB / 297.1 MB, free: 26.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008267/0.1284, allocations: 0.8068 MB / 298 MB, free: 25.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1284, allocations: 1.125 kB / 298 MB, free: 25.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.1286, allocations: 344.8 kB / 298.3 MB, free: 25.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1289, allocations: 44.16 kB / 298.3 MB, free: 25.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1301, allocations: 0.7858 MB / 299.1 MB, free: 25.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.232e-05/0.1302, allocations: 116.1 kB / 299.2 MB, free: 25.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.1304, allocations: 74.98 kB / 299.3 MB, free: 25.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.1304, allocations: 37.62 kB / 299.3 MB, free: 25.11 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1304, allocations: 0 / 299.3 MB, free: 25.11 MB / 266.7 MB Notification: Performance of Templates: time 0.007081/0.1375, allocations: 4.463 MB / 303.8 MB, free: 24.42 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6656503421254456]