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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 178.7 kB / 8.476 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.2 MB / 214.1 MB, free: 5.246 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 86.27 kB / 262.1 MB, free: 5.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.274e-06, allocations: 4 kB / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07185/0.07187, allocations: 47.57 MB / 362.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.2798, allocations: 81.44 MB / 444 MB, free: 10.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.28, allocations: 72.36 kB / 444 MB, free: 10.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02436/0.3044, allocations: 10.66 MB / 454.7 MB, free: 7.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.49e-05/0.3045, allocations: 11.53 kB / 454.7 MB, free: 7.316 MB / 314.7 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.001033/0.3055, allocations: 0.7956 MB / 455.5 MB, free: 6.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.3055, allocations: 10.69 kB / 455.5 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.3056, allocations: 61.66 kB / 455.6 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.3061, allocations: 409.8 kB / 456 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3062, allocations: 11.28 kB / 456 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.3062, allocations: 22.44 kB / 456 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004345/0.3067, allocations: 271.7 kB / 456.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.3072, allocations: 366.6 kB / 456.6 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3072, allocations: 0 / 456.6 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.3072, allocations: 3.984 kB / 456.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3072, allocations: 11.16 kB / 456.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3091, allocations: 1.675 MB / 458.3 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.3095, allocations: 291.9 kB / 458.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.3097, allocations: 173.9 kB / 458.8 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3098, allocations: 3.562 kB / 458.8 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.3101, allocations: 234.4 kB / 459 MB, free: 4.945 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.3101, allocations: 0 / 459 MB, free: 4.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0008247/0.3109, allocations: 410 kB / 459.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.311, allocations: 189 kB / 459.6 MB, free: 4.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.3115, allocations: 404.5 kB / 460 MB, free: 4.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.3115, allocations: 26.98 kB / 460 MB, free: 4.414 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.3116, allocations: 204.7 kB / 460.2 MB, free: 4.258 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.3117, allocations: 117.5 kB / 460.3 MB, free: 4.172 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.3117, allocations: 1.156 kB / 460.3 MB, free: 4.172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.3118, allocations: 359.7 kB / 460.7 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.3119, allocations: 104.4 kB / 460.8 MB, free: 3.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.3121, allocations: 194 kB / 461 MB, free: 3.742 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.3123, allocations: 111 kB / 461.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3123, allocations: 1.281 kB / 461.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006042/0.313, allocations: 423.2 kB / 461.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.313, allocations: 10.84 kB / 461.5 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.313, allocations: 1.125 kB / 461.5 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/0.3135, allocations: 153 kB / 461.7 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.3137, allocations: 42.39 kB / 461.7 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.3169, allocations: 5.338 MB / 467 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.3173, allocations: 49.16 kB / 467.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.3174, allocations: 21.88 kB / 467.1 MB, free: 14.5 MB / 330.7 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 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.3175, allocations: 113.5 kB / 467.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.3176, allocations: 51 kB / 467.3 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008704/0.3184, allocations: 437.2 kB / 467.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3185, allocations: 7.938 kB / 467.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.3185, allocations: 0.5938 kB / 467.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3185, allocations: 4.484 kB / 467.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.3189, allocations: 443.9 kB / 468.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3189, allocations: 5.375 kB / 468.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.3191, allocations: 34.59 kB / 468.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003751/0.3195, allocations: 144 kB / 468.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.3195, allocations: 9.078 kB / 468.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003588/0.3231, allocations: 5.309 MB / 473.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3231, allocations: 3.906 kB / 473.6 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007731/0.3239, allocations: 454.6 kB / 474.1 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.3241, allocations: 168.4 kB / 474.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.3242, allocations: 1.781 kB / 474.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.3245, allocations: 34.47 kB / 474.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.3246, allocations: 32.56 kB / 474.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.3246, allocations: 11.22 kB / 474.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003233/0.3249, allocations: 318.5 kB / 474.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005452/0.3255, allocations: 151.4 kB / 474.8 MB, free: 8.441 MB / 330.7 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,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000637/0.3261, allocations: 338.4 kB / 475.1 MB, free: 8.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000813/0.3269, allocations: 0.6997 MB / 475.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.327, allocations: 4.906 kB / 475.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005188/0.3275, allocations: 0.577 MB / 476.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.3279, allocations: 67.86 kB / 476.5 MB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3293, allocations: 0.6441 MB / 477.1 MB, free: 7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.3298, allocations: 0.8979 MB / 478 MB, free: 6.211 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3298, allocations: 3.938 kB / 478 MB, free: 6.207 MB / 330.7 MB Notification: Performance of Templates: time 0.01301/0.3428, allocations: 7.973 MB / 486 MB, free: 1.258 MB / 330.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches