Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.001621/0.001621, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001896/0.001896, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 55.92 kB / 347.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4154, allocations: 49.15 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005073/0.4204, allocations: 2.734 MB / 399.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.4221, allocations: 0.7493 MB / 400.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.4223, allocations: 3.438 kB / 400.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.4225, allocations: 44.42 kB / 400.4 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.4227, allocations: 85.95 kB / 400.5 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.4231, allocations: 108.1 kB / 400.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.4236, allocations: 380.2 kB / 400.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.4238, allocations: 61.25 kB / 401 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.424, allocations: 154.1 kB / 401.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.4243, allocations: 170.4 kB / 401.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.4244, allocations: 33.16 kB / 401.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.895e-05/0.4245, allocations: 32.97 kB / 401.4 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.4245, allocations: 73.55 kB / 401.4 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.4247, allocations: 159.3 kB / 401.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.4252, allocations: 367.2 kB / 402 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4252, allocations: 1.188 kB / 402 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4252, allocations: 0 / 402 MB, free: 6.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4252, allocations: 0 / 402 MB, free: 6.238 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001702/0.4269, allocations: 0.6026 MB / 402.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.427, allocations: 12.95 kB / 402.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.4271, allocations: 32.86 kB / 402.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.4275, allocations: 213.7 kB / 402.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.4275, allocations: 13.34 kB / 402.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.4276, allocations: 21.53 kB / 402.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/0.4284, allocations: 315.9 kB / 403.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4284, allocations: 0 / 403.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.4284, allocations: 10.25 kB / 403.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.4285, allocations: 5.438 kB / 403.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4295, allocations: 287 kB / 403.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.4313, allocations: 0.9297 MB / 404.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.4344, allocations: 491.5 kB / 404.9 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/0.4351, allocations: 201.1 kB / 405.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.4351, allocations: 2.969 kB / 405.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006769/0.4358, allocations: 242.5 kB / 405.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.4358, allocations: 3.938 kB / 405.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001596/0.4374, allocations: 460.7 kB / 405.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.4375, allocations: 111.1 kB / 405.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.4378, allocations: 235.6 kB / 406.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.4378, allocations: 31.7 kB / 406.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.438, allocations: 154.2 kB / 406.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.438, allocations: 74.84 kB / 406.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.4381, allocations: 52.09 kB / 406.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4382, allocations: 339.8 kB / 406.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.4387, allocations: 136 kB / 406.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.4392, allocations: 174.2 kB / 407 MB, free: 3.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000901/0.4401, allocations: 312.2 kB / 407.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4401, allocations: 1.031 kB / 407.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001064/0.4412, allocations: 404.1 kB / 407.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.4412, allocations: 41.67 kB / 407.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.4413, allocations: 5.875 kB / 407.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.4413, allocations: 5.438 kB / 407.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.4432, allocations: 235.8 kB / 408 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.4475, allocations: 3.193 MB / 411.2 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.4479, allocations: 53.84 kB / 411.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.448, allocations: 7.188 kB / 411.3 MB, free: 15.99 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.4482, allocations: 149.8 kB / 411.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.4482, allocations: 27.34 kB / 411.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/0.4483, allocations: 27.88 kB / 411.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4483, allocations: 6.812 kB / 411.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4483, allocations: 0 / 411.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4483, allocations: 5.391 kB / 411.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.4503, allocations: 0.8694 MB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4503, allocations: 1.469 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/0.4521, allocations: 225.9 kB / 412.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4521, allocations: 1.219 kB / 412.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.4521, allocations: 10.36 kB / 412.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005257/0.4574, allocations: 3.203 MB / 415.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4574, allocations: 5.078 kB / 415.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.4592, allocations: 0.5936 MB / 416.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.4593, allocations: 23.3 kB / 416.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.4593, allocations: 11.25 kB / 416.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.4597, allocations: 41.92 kB / 416.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.4599, allocations: 33.94 kB / 416.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.4599, allocations: 9.766 kB / 416.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.4601, allocations: 171 kB / 416.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4601, allocations: 0 / 416.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006217/0.4608, allocations: 86.14 kB / 416.8 MB, free: 11.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002196/0.461, allocations: 104.3 kB / 416.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00287/0.4639, allocations: 0.5218 MB / 417.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4639, allocations: 5.219 kB / 417.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00212/0.466, allocations: 347.4 kB / 417.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.4665, allocations: 45.25 kB / 417.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.4686, allocations: 0.6953 MB / 418.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.4691, allocations: 0.7492 MB / 419.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.4692, allocations: 21.39 kB / 419.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.892e-05/0.4693, allocations: 19.31 kB / 419.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4693, allocations: 1.188 kB / 419.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of Templates: time 0.01052/0.4799, allocations: 3.946 MB / 423.2 MB, free: 7.633 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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: 5.585055321920663]