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.001689/0.001689, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001581/0.001581, allocations: 210.2 kB / 23.73 MB, free: 4.523 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.255/0.255, allocations: 46.96 MB / 360.9 MB, free: 4.148 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.002111/0.002111, allocations: 67.89 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3718, allocations: 66.04 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01716/0.389, allocations: 6.82 MB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008525/0.3975, allocations: 2.294 MB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.3989, allocations: 31.88 kB / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007443/0.4063, allocations: 1.679 MB / 0.5716 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.4109, allocations: 0.7062 MB / 0.5723 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004946/0.4158, allocations: 1.039 MB / 0.5733 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0035/0.4193, allocations: 1.413 MB / 0.5747 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.422, allocations: 0.9262 MB / 0.5756 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.4233, allocations: 0.619 MB / 0.5762 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.4243, allocations: 0.7314 MB / 0.577 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.4244, allocations: 112 kB / 0.5771 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008006/0.4252, allocations: 331.8 kB / 0.5774 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.4255, allocations: 298.9 kB / 0.5777 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.4261, allocations: 0.5404 MB / 0.5782 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.4285, allocations: 1.782 MB / 0.5799 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4285, allocations: 0 / 0.5799 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4285, allocations: 0 / 0.5799 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.4285, allocations: 0 / 0.5799 GB, free: 0.7969 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008495/0.437, allocations: 2.338 MB / 0.5822 GB, free: 14.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.437, allocations: 8.031 kB / 0.5822 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.4473, allocations: 1.335 MB / 0.5835 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.449, allocations: 0.5566 MB / 0.5841 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.4492, allocations: 103 kB / 0.5842 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.4494, allocations: 132.3 kB / 0.5843 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/0.4525, allocations: 1.591 MB / 0.5858 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/0.4525, allocations: 15.94 kB / 0.5859 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.4527, allocations: 52 kB / 0.5859 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.4527, allocations: 39.94 kB / 0.5859 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00286/0.4556, allocations: 1.505 MB / 0.5874 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008264/0.4638, allocations: 4.278 MB / 0.5916 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.466, allocations: 1.08 MB / 0.5926 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.467, allocations: 0.546 MB / 0.5932 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.4672, allocations: 32.97 kB / 0.5932 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/0.4673, allocations: 51.56 kB / 0.5933 GB, free: 2.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.468e-06/0.4673, allocations: 0 / 0.5933 GB, free: 2.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.01/0.4773, allocations: 2.986 MB / 0.5962 GB, free: 15.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.4773, allocations: 94.11 kB / 0.5963 GB, free: 15.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.4779, allocations: 421.6 kB / 0.5967 GB, free: 15.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.099e-05/0.478, allocations: 45.7 kB / 0.5967 GB, free: 15.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.4784, allocations: 488.7 kB / 0.5972 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.4788, allocations: 448.2 kB / 0.5976 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/0.4792, allocations: 218.8 kB / 0.5978 GB, free: 14.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.4794, allocations: 378.7 kB / 0.5982 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000924/0.4803, allocations: 458.5 kB / 0.5986 GB, free: 13.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.4815, allocations: 0.7036 MB / 0.5993 GB, free: 12.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.4836, allocations: 1.202 MB / 0.6005 GB, free: 11.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.4836, allocations: 4 kB / 0.6005 GB, free: 11.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003189/0.4868, allocations: 1.574 MB / 0.602 GB, free: 9.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.4868, allocations: 8 kB / 0.602 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.4868, allocations: 8 kB / 0.602 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.4886, allocations: 0.5282 MB / 0.6025 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008675/0.4895, allocations: 191.7 kB / 0.6027 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002093/0.4897, allocations: 61.19 kB / 0.6028 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/0.4904, allocations: 115.2 kB / 0.6029 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.951e-05/0.4905, allocations: 51.94 kB / 0.6029 GB, free: 8.664 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.0004731/0.491, allocations: 273.5 kB / 0.6032 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.4912, allocations: 79.48 kB / 0.6033 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.4942, allocations: 1.536 MB / 0.6048 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.4942, allocations: 12 kB / 0.6048 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.4943, allocations: 3.938 kB / 0.6048 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.4943, allocations: 7.969 kB / 0.6048 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004762/0.499, allocations: 2.485 MB / 0.6072 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.499, allocations: 4 kB / 0.6072 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/0.4998, allocations: 147.7 kB / 0.6074 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.5014, allocations: 0.5223 MB / 0.6079 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.17e-05/0.5015, allocations: 27.98 kB / 0.6079 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003473/0.5018, allocations: 68.73 kB / 0.608 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5018, allocations: 0 / 0.608 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004411/0.5063, allocations: 2.318 MB / 0.6102 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/0.5068, allocations: 203.1 kB / 0.6104 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.507, allocations: 24 kB / 0.6105 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.5076, allocations: 44.05 kB / 0.6105 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.5078, allocations: 89.08 kB / 0.6106 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/0.5079, allocations: 32 kB / 0.6106 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003513/0.5083, allocations: 271.1 kB / 0.6109 GB, free: 456 kB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5083, allocations: 0 / 0.6109 GB, free: 456 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001086/0.5093, allocations: 355.2 kB / 0.6112 GB, free: 100 kB / 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.0004022/0.5098, allocations: 170 kB / 0.6114 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.5129, allocations: 1.273 MB / 0.6126 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5129, allocations: 4 kB / 0.6126 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.5149, allocations: 0.6882 MB / 0.6133 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/0.5156, allocations: 96.53 kB / 0.6134 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.5195, allocations: 2.087 MB / 0.6154 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.52, allocations: 458.3 kB / 0.6159 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004465/0.5204, allocations: 106.4 kB / 0.616 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.5206, allocations: 63.42 kB / 0.616 GB, free: 11.09 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5206, allocations: 0 / 0.616 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Templates: time 0.02486/0.5455, allocations: 13.92 MB / 0.6296 GB, free: 13.33 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/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: 6.22730194311589]