Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001662/0.001662, allocations: 112.5 kB / 18.45 MB, free: 4.562 MB / 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.002086/0.002086, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.637/1.637, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.249/0.249, allocations: 46.92 MB / 357.8 MB, free: 10.32 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+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 67.91 kB / 0.4921 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1393, allocations: 65.99 MB / 0.5565 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01031/0.1496, allocations: 7.765 MB / 0.5641 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005169/0.1548, allocations: 2.458 MB / 0.5665 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.156, allocations: 27.94 kB / 0.5665 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004562/0.1605, allocations: 1.823 MB / 0.5683 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.163, allocations: 0.7106 MB / 0.569 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.1656, allocations: 1.074 MB / 0.5701 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00226/0.1679, allocations: 1.415 MB / 0.5714 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.1695, allocations: 0.7742 MB / 0.5722 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009852/0.1705, allocations: 0.6267 MB / 0.5728 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.1716, allocations: 0.7237 MB / 0.5735 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.1719, allocations: 112 kB / 0.5736 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009859/0.1729, allocations: 339.8 kB / 0.5739 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003807/0.1733, allocations: 298.9 kB / 0.5742 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.1744, allocations: 0.653 MB / 0.5749 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.1775, allocations: 1.767 MB / 0.5766 GB, free: 0.707 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1775, allocations: 0 / 0.5766 GB, free: 0.707 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1775, allocations: 0 / 0.5766 GB, free: 0.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.754e-05/0.1776, allocations: 0 / 0.5766 GB, free: 0.707 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.009064/0.1866, allocations: 2.413 MB / 0.5789 GB, free: 14.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1867, allocations: 8.031 kB / 0.579 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.1971, allocations: 1.346 MB / 0.5803 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.1988, allocations: 0.621 MB / 0.5809 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.1989, allocations: 95.02 kB / 0.581 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004517/0.1993, allocations: 128.4 kB / 0.5811 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00376/0.2031, allocations: 1.502 MB / 0.5826 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.288e-05/0.2032, allocations: 3.953 kB / 0.5826 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.2034, allocations: 56 kB / 0.5826 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.2034, allocations: 32 kB / 0.5826 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/0.2066, allocations: 1.521 MB / 0.5841 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.2167, allocations: 5.612 MB / 0.5896 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.2196, allocations: 2.05 MB / 0.5916 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.2208, allocations: 0.5499 MB / 0.5921 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2582/0.479, allocations: 185.8 kB / 0.5923 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.479, allocations: 53.64 kB / 0.5924 GB, free: 33.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.646e-06/0.479, allocations: 0 / 0.5924 GB, free: 33.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009872/0.4889, allocations: 3.076 MB / 0.5954 GB, free: 33.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.489, allocations: 90.73 kB / 0.5955 GB, free: 33.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.4895, allocations: 462.5 kB / 0.5959 GB, free: 33.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.286e-05/0.4896, allocations: 48.08 kB / 0.596 GB, free: 33.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.4899, allocations: 476.9 kB / 0.5964 GB, free: 33.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.4902, allocations: 446 kB / 0.5968 GB, free: 32.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.4906, allocations: 223 kB / 0.597 GB, free: 32.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4907, allocations: 387.5 kB / 0.5974 GB, free: 32.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008631/0.4915, allocations: 454.6 kB / 0.5978 GB, free: 32.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.4926, allocations: 0.6975 MB / 0.5985 GB, free: 32.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.4945, allocations: 1.203 MB / 0.5997 GB, free: 31.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.4945, allocations: 4.328 kB / 0.5997 GB, free: 31.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00309/0.4976, allocations: 1.581 MB / 0.6012 GB, free: 30.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.4976, allocations: 7.312 kB / 0.6013 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.4976, allocations: 7.859 kB / 0.6013 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/0.4994, allocations: 0.5253 MB / 0.6018 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.5003, allocations: 199.2 kB / 0.602 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002107/0.5005, allocations: 54.23 kB / 0.602 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006949/0.5012, allocations: 123 kB / 0.6021 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.5013, allocations: 52.8 kB / 0.6022 GB, free: 30.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004199/0.5017, allocations: 275.4 kB / 0.6024 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.5019, allocations: 83.42 kB / 0.6025 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.5048, allocations: 1.54 MB / 0.604 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.5048, allocations: 16.56 kB / 0.604 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5048, allocations: 0.7031 kB / 0.604 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.5048, allocations: 10.56 kB / 0.6041 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/0.5097, allocations: 2.848 MB / 0.6068 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.5097, allocations: 1.25 kB / 0.6068 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.5104, allocations: 146.4 kB / 0.607 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/0.512, allocations: 0.5188 MB / 0.6075 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/0.5121, allocations: 26.67 kB / 0.6075 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003255/0.5124, allocations: 60.42 kB / 0.6076 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5124, allocations: 5.828 kB / 0.6076 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/0.5166, allocations: 2.318 MB / 0.6098 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.5171, allocations: 286.4 kB / 0.6101 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.5172, allocations: 22.97 kB / 0.6101 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.5178, allocations: 51.41 kB / 0.6102 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.5181, allocations: 80.59 kB / 0.6103 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/0.5181, allocations: 43.58 kB / 0.6103 GB, free: 26.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004072/0.5186, allocations: 308.8 kB / 0.6106 GB, free: 26.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5186, allocations: 0 / 0.6106 GB, free: 26.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001543/0.5201, allocations: 342.8 kB / 0.6109 GB, free: 26.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000323/0.5204, allocations: 169.4 kB / 0.6111 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.5236, allocations: 1.274 MB / 0.6123 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5236, allocations: 0 / 0.6123 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.5253, allocations: 0.6794 MB / 0.613 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.5261, allocations: 103 kB / 0.6131 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.5298, allocations: 2.13 MB / 0.6152 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.5304, allocations: 1.042 MB / 0.6162 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.5307, allocations: 78.52 kB / 0.6163 GB, free: 23.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5307, allocations: 0 / 0.6163 GB, free: 23.61 MB / 446.1 MB Notification: Performance of Templates: time 0.02158/0.5523, allocations: 16.94 MB / 0.6328 GB, free: 12.74 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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: 9.196112470992375]