Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001803/0.001803, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001561/0.001561, allocations: 203.1 kB / 23.73 MB, free: 4.414 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.483/1.483, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.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.2411/0.2411, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 179] 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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 83.88 kB / 0.4966 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3937, allocations: 66.08 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01028/0.404, allocations: 6.811 MB / 0.5678 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.4099, allocations: 2.295 MB / 0.5701 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.4114, allocations: 31.94 kB / 0.5701 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00491/0.4164, allocations: 1.683 MB / 0.5717 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003012/0.4194, allocations: 0.7055 MB / 0.5724 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.4224, allocations: 1.038 MB / 0.5734 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003327/0.4257, allocations: 1.417 MB / 0.5748 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.4278, allocations: 0.9028 MB / 0.5757 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.429, allocations: 0.6189 MB / 0.5763 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.4302, allocations: 0.6417 MB / 0.5769 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004255/0.4306, allocations: 112 kB / 0.577 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.4318, allocations: 323.8 kB / 0.5774 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.4322, allocations: 314.8 kB / 0.5777 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.4333, allocations: 0.5249 MB / 0.5782 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.4364, allocations: 1.781 MB / 0.5799 GB, free: 0.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4364, allocations: 0 / 0.5799 GB, free: 0.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4364, allocations: 0 / 0.5799 GB, free: 0.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.936e-05/0.4365, allocations: 7.938 kB / 0.5799 GB, free: 0.6992 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.00871/0.4452, allocations: 2.342 MB / 0.5822 GB, free: 14.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4452, allocations: 8.031 kB / 0.5822 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.4553, allocations: 1.331 MB / 0.5835 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.4571, allocations: 0.5645 MB / 0.5841 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.4573, allocations: 95.02 kB / 0.5842 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007216/0.458, allocations: 132.4 kB / 0.5843 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00439/0.4624, allocations: 1.595 MB / 0.5858 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.203e-05/0.4624, allocations: 3.953 kB / 0.5858 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.4627, allocations: 52 kB / 0.5859 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/0.4627, allocations: 39.98 kB / 0.5859 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.4661, allocations: 1.501 MB / 0.5874 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00893/0.475, allocations: 4.286 MB / 0.5916 GB, free: 4.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.4771, allocations: 1.075 MB / 0.5926 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.4782, allocations: 0.5538 MB / 0.5932 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.4783, allocations: 36.97 kB / 0.5932 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.4784, allocations: 43.56 kB / 0.5932 GB, free: 2.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.887e-06/0.4784, allocations: 0 / 0.5932 GB, free: 2.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009196/0.4876, allocations: 2.994 MB / 0.5962 GB, free: 15.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.4876, allocations: 90.11 kB / 0.5963 GB, free: 15.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.4883, allocations: 417.7 kB / 0.5967 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.4884, allocations: 49.7 kB / 0.5967 GB, free: 15.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.4888, allocations: 488.8 kB / 0.5972 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004529/0.4892, allocations: 444.2 kB / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004427/0.4897, allocations: 218.8 kB / 0.5978 GB, free: 14.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002599/0.4899, allocations: 386.7 kB / 0.5982 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000981/0.4909, allocations: 462.4 kB / 0.5986 GB, free: 13.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4921, allocations: 0.688 MB / 0.5993 GB, free: 12.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.4945, allocations: 1.209 MB / 0.6005 GB, free: 11.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.4945, allocations: 0 / 0.6005 GB, free: 11.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0037/0.4982, allocations: 1.578 MB / 0.602 GB, free: 9.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.4982, allocations: 10.34 kB / 0.602 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.4982, allocations: 7.938 kB / 0.602 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.5001, allocations: 0.5204 MB / 0.6025 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/0.5009, allocations: 199.7 kB / 0.6027 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003078/0.5012, allocations: 53.19 kB / 0.6028 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000832/0.502, allocations: 115.2 kB / 0.6029 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.5022, allocations: 59.88 kB / 0.6029 GB, free: 8.562 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.0006952/0.5029, allocations: 261.6 kB / 0.6032 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.5031, allocations: 95.45 kB / 0.6033 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/0.5066, allocations: 1.532 MB / 0.6048 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.5066, allocations: 12 kB / 0.6048 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.5066, allocations: 7.938 kB / 0.6048 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.5067, allocations: 7.969 kB / 0.6048 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005196/0.5118, allocations: 2.481 MB / 0.6072 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5119, allocations: 3.984 kB / 0.6072 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.5125, allocations: 147.8 kB / 0.6074 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.5141, allocations: 0.5145 MB / 0.6079 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.509e-05/0.5142, allocations: 31.92 kB / 0.6079 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003169/0.5145, allocations: 64.8 kB / 0.608 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.5145, allocations: 4 kB / 0.608 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/0.5191, allocations: 2.31 MB / 0.6102 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/0.5196, allocations: 203.1 kB / 0.6104 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.5198, allocations: 27.98 kB / 0.6104 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006435/0.5204, allocations: 47.98 kB / 0.6105 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.5206, allocations: 89.03 kB / 0.6106 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/0.5207, allocations: 35.98 kB / 0.6106 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000411/0.5211, allocations: 279.1 kB / 0.6109 GB, free: 348 kB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5211, allocations: 0 / 0.6109 GB, free: 348 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001511/0.5227, allocations: 347.2 kB / 0.6112 GB, free: 0 / 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.0003928/0.523, allocations: 163 kB / 0.6114 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003353/0.5264, allocations: 1.277 MB / 0.6126 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5264, allocations: 448 / 0.6126 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.5283, allocations: 0.684 MB / 0.6133 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.5291, allocations: 97.88 kB / 0.6134 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/0.5339, allocations: 2.081 MB / 0.6154 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.5345, allocations: 462.3 kB / 0.6158 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000576/0.5351, allocations: 106.4 kB / 0.6159 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.5353, allocations: 63.42 kB / 0.616 GB, free: 11 MB / 462.1 MB Notification: Performance of SimCode: time 1.643e-06/0.5353, allocations: 0 / 0.616 GB, free: 11 MB / 462.1 MB Notification: Performance of Templates: time 0.02788/0.5632, allocations: 13.54 MB / 0.6292 GB, free: 13.59 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.144033508375287]