Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001509/0.001509, allocations: 114.9 kB / 19.17 MB, free: 3.871 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.001636/0.001636, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 230.4 MB / 255.4 MB, free: 15.01 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 374.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1116, allocations: 53.31 MB / 428.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004595/0.1162, allocations: 2.957 MB / 431 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1177, allocations: 0.7984 MB / 431.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1178, allocations: 8 kB / 431.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.118, allocations: 51.5 kB / 431.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1182, allocations: 103.1 kB / 432 MB, free: 420 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1186, allocations: 115.8 kB / 432.1 MB, free: 304 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2365/0.3551, allocations: 403.3 kB / 432.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.3554, allocations: 93.45 kB / 432.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004912/0.3559, allocations: 155.1 kB / 432.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.3562, allocations: 167.4 kB / 432.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-05/0.3562, allocations: 36.28 kB / 432.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3564, allocations: 43.53 kB / 433 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.3564, allocations: 71.7 kB / 433 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.3566, allocations: 183 kB / 433.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.3571, allocations: 441.1 kB / 433.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3571, allocations: 3.375 kB / 433.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3571, allocations: 0 / 433.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.3571, allocations: 0.6562 kB / 433.6 MB, free: 8.031 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009698/0.3581, allocations: 0.6279 MB / 434.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3582, allocations: 8.625 kB / 434.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.3584, allocations: 47.97 kB / 434.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.3587, allocations: 292.5 kB / 434.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.3587, allocations: 18.84 kB / 434.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.3588, allocations: 23.16 kB / 434.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.3593, allocations: 288.9 kB / 434.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3593, allocations: 5.375 kB / 434.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.3593, allocations: 14.55 kB / 435 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3593, allocations: 9.219 kB / 435 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.3597, allocations: 203.3 kB / 435.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.3612, allocations: 1.144 MB / 436.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.3617, allocations: 203.7 kB / 436.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.362, allocations: 128.9 kB / 436.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.362, allocations: 2.938 kB / 436.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.3623, allocations: 172.2 kB / 436.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.3623, allocations: 3.938 kB / 436.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001543/0.3638, allocations: 0.5089 MB / 437.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3639, allocations: 134.9 kB / 437.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.3642, allocations: 247.8 kB / 437.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3642, allocations: 30.08 kB / 437.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3644, allocations: 173.9 kB / 437.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.3644, allocations: 71.97 kB / 438 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3645, allocations: 50.83 kB / 438 MB, free: 5.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.3646, allocations: 334.7 kB / 438.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3648, allocations: 69.97 kB / 438.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.365, allocations: 131.8 kB / 438.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3653, allocations: 166.8 kB / 438.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3653, allocations: 0 / 438.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005111/0.3658, allocations: 296.5 kB / 439 MB, free: 5.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3658, allocations: 5.656 kB / 439 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3658, allocations: 1.094 kB / 439 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003976/0.3662, allocations: 87.8 kB / 439.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.3664, allocations: 32.72 kB / 439.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.3685, allocations: 2.145 MB / 441.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.3688, allocations: 35.83 kB / 441.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3688, allocations: 9.375 kB / 441.3 MB, free: 3.5 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.0001592/0.3689, allocations: 147 kB / 441.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.369, allocations: 32.52 kB / 441.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/0.369, allocations: 30.91 kB / 441.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3691, allocations: 3.094 kB / 441.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3691, allocations: 1.719 kB / 441.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3691, allocations: 0.7969 kB / 441.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/0.37, allocations: 0.774 MB / 442.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.37, allocations: 0 / 442.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3701, allocations: 22.73 kB / 442.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/0.3704, allocations: 90.95 kB / 442.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.3704, allocations: 7.672 kB / 442.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.3723, allocations: 2.14 MB / 444.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3723, allocations: 1.812 kB / 444.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.3729, allocations: 451 kB / 445 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.373, allocations: 131.1 kB / 445.1 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.3731, allocations: 7.828 kB / 445.1 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3733, allocations: 25.89 kB / 445.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.3734, allocations: 33.88 kB / 445.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3734, allocations: 6.141 kB / 445.2 MB, free: 460 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.3736, allocations: 178.4 kB / 445.4 MB, free: 352 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3736, allocations: 3.938 kB / 445.4 MB, free: 348 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004963/0.3741, allocations: 90.16 kB / 445.5 MB, free: 332 kB / 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.0001355/0.3742, allocations: 105.1 kB / 445.6 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.3749, allocations: 353.6 kB / 445.9 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3749, allocations: 0 / 445.9 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004491/0.3753, allocations: 252.5 kB / 446.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.3758, allocations: 68.17 kB / 446.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.3773, allocations: 0.6356 MB / 446.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.3777, allocations: 0.7683 MB / 447.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.3778, allocations: 23.86 kB / 447.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3778, allocations: 0 / 447.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Templates: time 0.00878/0.3866, allocations: 4.709 MB / 452.3 MB, free: 14.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.6261983858421445]