Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 72.22 kB / 21.24 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 167.4 kB / 24.5 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 177.2 MB / 204.9 MB, free: 8.918 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 46.97 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1044, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005323/0.1097, allocations: 3.66 MB / 382.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.1123, allocations: 1.522 MB / 384.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.1125, allocations: 15.94 kB / 384.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.1143, allocations: 0.7584 MB / 384.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008451/0.1152, allocations: 366 kB / 385.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1165, allocations: 0.6422 MB / 385.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000659/0.1172, allocations: 0.5292 MB / 386.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006866/0.1179, allocations: 444.2 kB / 386.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.1182, allocations: 251.1 kB / 387.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.1186, allocations: 258.8 kB / 387.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.815e-05/0.1186, allocations: 52 kB / 387.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.119, allocations: 243.8 kB / 387.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1192, allocations: 123.6 kB / 387.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.1194, allocations: 210.9 kB / 387.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009617/0.1204, allocations: 0.8094 MB / 388.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1204, allocations: 0 / 388.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1204, allocations: 4 kB / 388.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1204, allocations: 0 / 388.7 MB, free: 5.793 MB / 350.1 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.002171/0.1225, allocations: 0.8912 MB / 389.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1226, allocations: 8.031 kB / 389.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.1255, allocations: 396.2 kB / 390 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.1261, allocations: 303.5 kB / 390.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.1262, allocations: 45.69 kB / 390.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-05/0.1263, allocations: 63.92 kB / 390.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.1275, allocations: 0.6778 MB / 391.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1275, allocations: 7.938 kB / 391.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.1276, allocations: 24 kB / 391.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.1276, allocations: 23.94 kB / 391.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.1288, allocations: 0.5673 MB / 391.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.1318, allocations: 1.751 MB / 393.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.133, allocations: 468.5 kB / 393.9 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.1334, allocations: 180.7 kB / 394.1 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.1335, allocations: 19.97 kB / 394.1 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1335, allocations: 38.56 kB / 394.2 MB, free: 156 kB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.693e-06/0.1335, allocations: 0 / 394.2 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001693/0.1352, allocations: 0.5999 MB / 394.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1353, allocations: 55.41 kB / 394.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1355, allocations: 204.6 kB / 395 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.1355, allocations: 33.7 kB / 395.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1357, allocations: 260.7 kB / 395.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.1358, allocations: 158.5 kB / 395.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.1359, allocations: 90.14 kB / 395.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1361, allocations: 330.8 kB / 395.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.1364, allocations: 154.8 kB / 396 MB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.1369, allocations: 253.2 kB / 396.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008386/0.1377, allocations: 441.7 kB / 396.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1377, allocations: 0 / 396.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001124/0.1389, allocations: 0.5181 MB / 397.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1389, allocations: 10.5 kB / 397.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1389, allocations: 4 kB / 397.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.1391, allocations: 52.83 kB / 397.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.1396, allocations: 103.8 kB / 397.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.1412, allocations: 1.637 MB / 399 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.1415, allocations: 47.72 kB / 399.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.1415, allocations: 20 kB / 399.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004377/0.1419, allocations: 265.1 kB / 399.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000402/0.1423, allocations: 256.9 kB / 399.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007657/0.1431, allocations: 419.7 kB / 400 MB, free: 9.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.881e-06/0.1431, allocations: 7.938 kB / 400 MB, free: 9.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001024/0.1441, allocations: 0.5015 MB / 400.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1442, allocations: 11.98 kB / 400.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1442, allocations: 0 / 400.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.1443, allocations: 56.77 kB / 400.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.1447, allocations: 99.83 kB / 400.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.1462, allocations: 1.627 MB / 402.3 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.1465, allocations: 47.66 kB / 402.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.1466, allocations: 20 kB / 402.4 MB, free: 7.48 MB / 366.1 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.0001658/0.1467, allocations: 212.7 kB / 402.6 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.1468, allocations: 31.92 kB / 402.6 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.148, allocations: 0.4977 MB / 403.1 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.148, allocations: 4 kB / 403.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.148, allocations: 0 / 403.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.148, allocations: 7.984 kB / 403.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.1496, allocations: 0.933 MB / 404.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1496, allocations: 3.984 kB / 404.1 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.1501, allocations: 79.89 kB / 404.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001728/0.1502, allocations: 48.83 kB / 404.2 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.1503, allocations: 12 kB / 404.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.1518, allocations: 1.625 MB / 405.8 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1518, allocations: 0 / 405.8 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.1532, allocations: 0.7368 MB / 406.6 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1534, allocations: 71.66 kB / 406.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.1534, allocations: 12.12 kB / 406.7 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.1537, allocations: 19.98 kB / 406.7 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.1537, allocations: 32.44 kB / 406.7 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.1538, allocations: 15.98 kB / 406.7 MB, free: 2.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1539, allocations: 143 kB / 406.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1539, allocations: 0 / 406.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008846/0.1548, allocations: 259.2 kB / 407.1 MB, free: 2.57 MB / 366.1 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.0002205/0.155, allocations: 139.4 kB / 407.2 MB, free: 2.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.1567, allocations: 0.8501 MB / 408.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1567, allocations: 128 / 408.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005609/0.1572, allocations: 321.4 kB / 408.4 MB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1576, allocations: 39.5 kB / 408.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.159, allocations: 0.8564 MB / 409.3 MB, free: 312 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1593, allocations: 221.8 kB / 409.5 MB, free: 72 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.1595, allocations: 62.95 kB / 409.6 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.1596, allocations: 36.53 kB / 409.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1596, allocations: 4 kB / 409.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Templates: time 0.0101/0.1697, allocations: 4.477 MB / 414.1 MB, free: 11.54 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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: 4.370861717034131]