Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001798/0.001798, allocations: 106.2 kB / 19.8 MB, free: 2.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002164/0.002164, allocations: 216.3 kB / 22.99 MB, free: 5.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 59.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2981, allocations: 53.33 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.00504/0.3031, allocations: 2.964 MB / 432.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3049, allocations: 0.8102 MB / 433.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.305, allocations: 8 kB / 433.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.3052, allocations: 47.5 kB / 433.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.3054, allocations: 103.1 kB / 433.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.3058, allocations: 119.7 kB / 433.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.3063, allocations: 410.3 kB / 434.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.3065, allocations: 95.27 kB / 434.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.3068, allocations: 155.5 kB / 434.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.307, allocations: 167.2 kB / 434.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.3071, allocations: 36 kB / 434.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-05/0.3071, allocations: 47.92 kB / 434.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.3072, allocations: 79.75 kB / 434.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.3074, allocations: 179.1 kB / 435 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.3079, allocations: 435.6 kB / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3079, allocations: 0 / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3079, allocations: 0 / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3079, allocations: 0 / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001125/0.309, allocations: 0.632 MB / 436.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3091, allocations: 8.031 kB / 436.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.3093, allocations: 56.62 kB / 436.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.3097, allocations: 285 kB / 436.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3097, allocations: 16.94 kB / 436.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.3098, allocations: 24.38 kB / 436.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.3103, allocations: 296.8 kB / 436.7 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3103, allocations: 0 / 436.7 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.3103, allocations: 12 kB / 436.7 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3103, allocations: 4 kB / 436.7 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.3107, allocations: 210.1 kB / 436.9 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.3126, allocations: 1.141 MB / 438.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.3131, allocations: 210.6 kB / 438.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.3134, allocations: 124.8 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.3134, allocations: 4 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.3137, allocations: 169.7 kB / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.3137, allocations: 0 / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001426/0.3152, allocations: 0.5108 MB / 439.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3153, allocations: 140.5 kB / 439.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3155, allocations: 248.9 kB / 439.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.3156, allocations: 25.7 kB / 439.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.3157, allocations: 172.7 kB / 439.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.3158, allocations: 71.42 kB / 439.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.863e-05/0.3159, allocations: 53.66 kB / 439.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.316, allocations: 330.8 kB / 440.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3162, allocations: 71.97 kB / 440.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.3164, allocations: 129.1 kB / 440.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.3167, allocations: 167.3 kB / 440.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3167, allocations: 4.031 kB / 440.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005072/0.3172, allocations: 294 kB / 440.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3172, allocations: 8 kB / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3172, allocations: 0 / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003422/0.3176, allocations: 88.81 kB / 440.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3177, allocations: 23.98 kB / 440.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.3202, allocations: 2.147 MB / 443 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.3204, allocations: 31.94 kB / 443.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.3204, allocations: 11.94 kB / 443.1 MB, free: 9.742 MB / 350.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: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001831/0.3206, allocations: 153.9 kB / 443.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.3206, allocations: 31.78 kB / 443.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.3207, allocations: 30.19 kB / 443.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3207, allocations: 4 kB / 443.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3207, allocations: 0 / 443.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3207, allocations: 3.984 kB / 443.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.3217, allocations: 0.7721 MB / 444.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3217, allocations: 4 kB / 444.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3218, allocations: 15.98 kB / 444.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/0.3221, allocations: 88.8 kB / 444.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.3221, allocations: 8 kB / 444.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.3245, allocations: 2.147 MB / 446.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3245, allocations: 3.984 kB / 446.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.3252, allocations: 445.6 kB / 446.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3253, allocations: 136.8 kB / 446.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3254, allocations: 3.938 kB / 446.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3256, allocations: 24.11 kB / 446.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.3257, allocations: 31.95 kB / 447 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3257, allocations: 8 kB / 447 MB, free: 5.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3259, allocations: 176.5 kB / 447.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3259, allocations: 0 / 447.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.3264, allocations: 87.89 kB / 447.2 MB, free: 5.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.3266, allocations: 115.2 kB / 447.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007637/0.3273, allocations: 346.3 kB / 447.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3273, allocations: 0 / 447.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.3277, allocations: 265.7 kB / 447.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.3282, allocations: 52.44 kB / 448 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.3294, allocations: 0.6127 MB / 448.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.3298, allocations: 0.7639 MB / 449.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.888e-05/0.3299, allocations: 22.28 kB / 449.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.33, allocations: 19.44 kB / 449.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.33, allocations: 0 / 449.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Templates: time 0.0102/0.3402, allocations: 5.057 MB / 454.5 MB, free: 14.08 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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: 4.837715735659003]