Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001763/0.001763, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002339/0.002339, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.382/1.382, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2516, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005114/0.2567, allocations: 3.649 MB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.2594, allocations: 1.555 MB / 436.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.2596, allocations: 23.81 kB / 436.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007767/0.2604, allocations: 250.8 kB / 436.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006645/0.261, allocations: 310.1 kB / 436.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.2616, allocations: 266.4 kB / 437.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007904/0.2624, allocations: 0.7203 MB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.2627, allocations: 129.3 kB / 438 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.2631, allocations: 294.9 kB / 438.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.2635, allocations: 306.7 kB / 438.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.2636, allocations: 52 kB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.2638, allocations: 107.9 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.2639, allocations: 143.5 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.2642, allocations: 246.8 kB / 439.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008329/0.2651, allocations: 0.7313 MB / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2651, allocations: 4 kB / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2651, allocations: 0 / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.2651, allocations: 0 / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001709/0.2668, allocations: 0.8926 MB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2668, allocations: 12.03 kB / 440.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.377e-05/0.2669, allocations: 74.72 kB / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.2671, allocations: 84.44 kB / 440.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.2677, allocations: 360.3 kB / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.2678, allocations: 33.38 kB / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.2678, allocations: 43.94 kB / 441.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008064/0.2686, allocations: 0.5268 MB / 441.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.2686, allocations: 4 kB / 441.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.2687, allocations: 16 kB / 441.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.2687, allocations: 8 kB / 441.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/0.2693, allocations: 307.8 kB / 442.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.2717, allocations: 1.559 MB / 443.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.2724, allocations: 323.8 kB / 444.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.2727, allocations: 160.7 kB / 444.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.2727, allocations: 4 kB / 444.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000525/0.2732, allocations: 373.2 kB / 444.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.2732, allocations: 0 / 444.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002043/0.2753, allocations: 0.7081 MB / 445.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.2754, allocations: 170.2 kB / 445.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.276, allocations: 0.5096 MB / 446 MB, free: 7.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.276, allocations: 33.7 kB / 446 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.2762, allocations: 264.7 kB / 446.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2763, allocations: 123 kB / 446.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.2765, allocations: 78.12 kB / 446.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2766, allocations: 362.8 kB / 446.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.2769, allocations: 120.8 kB / 446.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.2773, allocations: 344.8 kB / 447.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.2777, allocations: 273.1 kB / 447.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2777, allocations: 0 / 447.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008311/0.2786, allocations: 492.9 kB / 448 MB, free: 5.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2786, allocations: 4 kB / 448 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2786, allocations: 4 kB / 448 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/0.2791, allocations: 163.3 kB / 448.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.2793, allocations: 47.84 kB / 448.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005639/0.285, allocations: 6.21 MB / 454.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.2854, allocations: 55.7 kB / 454.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.2854, allocations: 12 kB / 454.5 MB, free: 14.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002688/0.2857, allocations: 189.1 kB / 454.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/0.2857, allocations: 55.61 kB / 454.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.2868, allocations: 0.4972 MB / 455.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2868, allocations: 4 kB / 455.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.2868, allocations: 0 / 455.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.2868, allocations: 8.062 kB / 455.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.2873, allocations: 412.3 kB / 455.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2873, allocations: 4 kB / 455.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.2874, allocations: 35.91 kB / 455.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.2879, allocations: 155.4 kB / 455.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.2879, allocations: 7.984 kB / 455.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005144/0.2931, allocations: 5.923 MB / 461.8 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2931, allocations: 3.938 kB / 461.8 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.2941, allocations: 0.5075 MB / 462.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.2943, allocations: 91.48 kB / 462.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.2944, allocations: 8 kB / 462.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.2946, allocations: 31.97 kB / 462.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.2948, allocations: 55.91 kB / 462.5 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.2948, allocations: 11.98 kB / 462.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004478/0.2953, allocations: 371 kB / 462.8 MB, free: 5.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2953, allocations: 0 / 462.8 MB, free: 5.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000775/0.296, allocations: 175.8 kB / 463 MB, free: 5.199 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002774/0.2988, allocations: 1.402 MB / 464.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.3, allocations: 0.7989 MB / 465.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3, allocations: 0 / 465.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007284/0.3007, allocations: 0.6432 MB / 465.9 MB, free: 2.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.3012, allocations: 109.8 kB / 466 MB, free: 2.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006225/0.3075, allocations: 4.297 MB / 470.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3078, allocations: 263.4 kB / 470.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.3079, allocations: 52.17 kB / 470.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.3082, allocations: 175.4 kB / 470.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3082, allocations: 0 / 470.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05499/0.3632, allocations: 15.47 MB / 486.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.58, allocations: 12 kB / 486.2 MB, free: 14.08 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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: 15.15185171799385]