Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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 3.2.3+maint.om/package.mo", uses=false) 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.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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.001308/0.001308, allocations: 185.2 kB / 19.33 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 51.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.09063, allocations: 46.61 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005558/0.09623, allocations: 3.912 MB / 379.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1918/0.2881, allocations: 1.346 MB / 381.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000444/0.2886, allocations: 15.56 kB / 381.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.2894, allocations: 254.4 kB / 381.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005847/0.29, allocations: 257.2 kB / 381.6 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007046/0.2907, allocations: 261.6 kB / 381.9 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007671/0.2915, allocations: 0.7196 MB / 382.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.2919, allocations: 167 kB / 382.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.2923, allocations: 272.9 kB / 383 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.2927, allocations: 305.1 kB / 383.3 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.2929, allocations: 51.16 kB / 383.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.2931, allocations: 98.03 kB / 383.4 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.2933, allocations: 145.3 kB / 383.6 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.2936, allocations: 307.2 kB / 383.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.2944, allocations: 0.703 MB / 384.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2944, allocations: 0 / 384.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2944, allocations: 0 / 384.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.2945, allocations: 1 kB / 384.6 MB, free: 9.086 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001632/0.2961, allocations: 0.94 MB / 385.5 MB, free: 8.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2961, allocations: 9.531 kB / 385.5 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.2963, allocations: 64.34 kB / 385.6 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.2968, allocations: 416.2 kB / 386 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.2968, allocations: 29.75 kB / 386 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.2969, allocations: 42.5 kB / 386.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.2976, allocations: 448.3 kB / 386.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2977, allocations: 0.6562 kB / 386.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.2977, allocations: 17.16 kB / 386.5 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2977, allocations: 10.09 kB / 386.5 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.2983, allocations: 313.8 kB / 386.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.3006, allocations: 1.7 MB / 388.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.3013, allocations: 368.7 kB / 388.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.3016, allocations: 188.9 kB / 389.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.3017, allocations: 6.312 kB / 389.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000462/0.3021, allocations: 260.7 kB / 389.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.3021, allocations: 0 / 389.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00218/0.3043, allocations: 1.01 MB / 390.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.3044, allocations: 190.4 kB / 390.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/0.305, allocations: 0.497 MB / 391.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.3051, allocations: 36.39 kB / 391.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3053, allocations: 251.1 kB / 391.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.3054, allocations: 125.3 kB / 391.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3055, allocations: 83.36 kB / 391.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.3056, allocations: 358.3 kB / 391.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.3058, allocations: 121 kB / 392 MB, free: 4.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.3061, allocations: 211.9 kB / 392.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.3066, allocations: 277.5 kB / 392.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3066, allocations: 0 / 392.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007539/0.3073, allocations: 478.5 kB / 392.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3074, allocations: 4.938 kB / 393 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3074, allocations: 1.188 kB / 393 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/0.3079, allocations: 160.1 kB / 393.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.3081, allocations: 49.86 kB / 393.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/0.3125, allocations: 6.654 MB / 399.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.3129, allocations: 48.73 kB / 399.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.313, allocations: 17.72 kB / 399.9 MB, free: 13.15 MB / 334.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.0002899/0.3133, allocations: 186.3 kB / 400.1 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.3134, allocations: 56.31 kB / 400.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.3135, allocations: 61.38 kB / 400.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3135, allocations: 7.844 kB / 400.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3135, allocations: 1.797 kB / 400.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3135, allocations: 1.406 kB / 400.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.3141, allocations: 499.1 kB / 400.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3142, allocations: 0.8281 kB / 400.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3143, allocations: 29.3 kB / 400.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.3147, allocations: 157 kB / 400.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.3148, allocations: 11.41 kB / 400.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.3194, allocations: 6.35 MB / 407.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3195, allocations: 0 / 407.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.3206, allocations: 0.5092 MB / 407.7 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.3208, allocations: 161.6 kB / 407.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/0.3209, allocations: 4.703 kB / 407.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.3211, allocations: 32.86 kB / 407.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.3213, allocations: 59.86 kB / 408 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.3213, allocations: 12.05 kB / 408 MB, free: 5.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004894/0.3218, allocations: 359.2 kB / 408.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3218, allocations: 0 / 408.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008875/0.3227, allocations: 172.7 kB / 408.5 MB, free: 5.699 MB / 334.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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * 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.001051/0.3238, allocations: 439.3 kB / 408.9 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.325, allocations: 0.8032 MB / 409.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3251, allocations: 0 / 409.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.3258, allocations: 0.6502 MB / 410.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006159/0.3264, allocations: 117.6 kB / 410.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.3285, allocations: 1 MB / 411.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.329, allocations: 0.8611 MB / 412.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3291, allocations: 37.33 kB / 412.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3291, allocations: 0 / 412.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of Templates: time 0.01891/0.348, allocations: 14.68 MB / 427.1 MB, free: 9.555 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches