Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 112.2 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 185.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00098/0.00098, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2209, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003512/0.2245, allocations: 2.736 MB / 404.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2256, allocations: 0.7011 MB / 404.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.2257, allocations: 7.938 kB / 404.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.2258, allocations: 35.64 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.226, allocations: 91.2 kB / 405 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.2263, allocations: 107.8 kB / 405.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.2267, allocations: 382.5 kB / 405.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2268, allocations: 84.69 kB / 405.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.227, allocations: 147.5 kB / 405.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.2272, allocations: 167.3 kB / 405.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.2273, allocations: 32 kB / 405.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.2274, allocations: 32 kB / 405.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.461e-05/0.2275, allocations: 71.75 kB / 406 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2276, allocations: 155.2 kB / 406.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.2279, allocations: 367.9 kB / 406.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.228, allocations: 11.94 kB / 406.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.228, allocations: 0 / 406.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.228, allocations: 0 / 406.5 MB, free: 3.762 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.001487/0.2295, allocations: 0.6647 MB / 407.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2295, allocations: 15.89 kB / 407.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/0.2296, allocations: 28.56 kB / 407.2 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.2299, allocations: 268.8 kB / 407.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2299, allocations: 16.81 kB / 407.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.23, allocations: 20.38 kB / 407.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000785/0.2308, allocations: 322 kB / 407.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2308, allocations: 0 / 407.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.2308, allocations: 8 kB / 407.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.2309, allocations: 8 kB / 407.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009383/0.2318, allocations: 289.5 kB / 408.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.2334, allocations: 0.9646 MB / 409.1 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.2364, allocations: 494.2 kB / 409.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/0.237, allocations: 212.6 kB / 409.8 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.237, allocations: 4 kB / 409.8 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/0.2376, allocations: 243.2 kB / 410 MB, free: 36 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.2377, allocations: 4 kB / 410 MB, free: 32 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001543/0.2392, allocations: 457.5 kB / 410.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.2393, allocations: 114.8 kB / 410.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.2395, allocations: 233 kB / 410.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.2395, allocations: 25.7 kB / 410.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.2396, allocations: 164.1 kB / 411 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.2397, allocations: 67.09 kB / 411.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2398, allocations: 53.84 kB / 411.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2399, allocations: 330.8 kB / 411.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.2404, allocations: 140.4 kB / 411.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.2409, allocations: 176.9 kB / 411.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.2419, allocations: 320 kB / 412.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2419, allocations: 0 / 412.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001102/0.243, allocations: 398.8 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.243, allocations: 41.64 kB / 412.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.243, allocations: 0 / 412.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2431, allocations: 3.984 kB / 412.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.2448, allocations: 239.7 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004468/0.2493, allocations: 3.392 MB / 416.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.2497, allocations: 55.89 kB / 416.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.2497, allocations: 11.94 kB / 416.2 MB, free: 9.477 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.0001431/0.2498, allocations: 137.8 kB / 416.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.2499, allocations: 31.66 kB / 416.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.284e-05/0.25, allocations: 26.17 kB / 416.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.25, allocations: 0 / 416.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.25, allocations: 0 / 416.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.25, allocations: 108.8 kB / 416.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.2501, allocations: 12 kB / 416.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.2505, allocations: 31.95 kB / 416.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.2506, allocations: 35.84 kB / 416.6 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002943/0.2535, allocations: 0.7306 MB / 417.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001575/0.2551, allocations: 0.7338 MB / 418 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004831/0.2556, allocations: 155.9 kB / 418.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2557, allocations: 176.4 kB / 418.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of Backend: time 6.11e-07/0.2557, allocations: 0 / 418.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002452/0.2582, allocations: 497.3 kB / 418.8 MB, free: 6.754 MB / 334.1 MB Notification: Performance of SimCode: time 0.001084/0.2593, allocations: 1.016 MB / 419.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of Templates: time 0.007878/0.2672, allocations: 4.331 MB / 424.2 MB, free: 1.387 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches