Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.001353/0.001353, allocations: 73.33 kB / 21.24 MB, free: 0.5547 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.001526/0.001526, allocations: 159.5 kB / 24.5 MB, free: 3.715 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.421/1.421, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.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: 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_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_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.72 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.0973, allocations: 53.34 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004315/0.1016, allocations: 2.749 MB / 381.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.103, allocations: 0.7673 MB / 382.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1031, allocations: 7.938 kB / 382.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1033, allocations: 47.5 kB / 382.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.1035, allocations: 103.1 kB / 382.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1039, allocations: 119.8 kB / 382.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004675/0.1043, allocations: 414.3 kB / 383.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.1045, allocations: 87.61 kB / 383.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1048, allocations: 159.5 kB / 383.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.105, allocations: 147.2 kB / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.1051, allocations: 40 kB / 383.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.1052, allocations: 40 kB / 383.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.1053, allocations: 75.77 kB / 383.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.1054, allocations: 147.3 kB / 383.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.1059, allocations: 446.3 kB / 384.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1059, allocations: 0 / 384.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1059, allocations: 0 / 384.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1059, allocations: 0 / 384.2 MB, free: 10.29 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.001049/0.107, allocations: 0.5567 MB / 384.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.107, allocations: 12.03 kB / 384.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.1072, allocations: 48.69 kB / 384.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.1076, allocations: 226.8 kB / 385.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1076, allocations: 24.81 kB / 385.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.1077, allocations: 24.38 kB / 385.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.1082, allocations: 339.3 kB / 385.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1082, allocations: 0 / 385.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.1082, allocations: 12 kB / 385.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1083, allocations: 8 kB / 385.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.1087, allocations: 205.8 kB / 385.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.1103, allocations: 0.9897 MB / 386.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.1108, allocations: 198.6 kB / 386.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.1111, allocations: 124.8 kB / 387 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1111, allocations: 4 kB / 387 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.1114, allocations: 214.1 kB / 387.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.1114, allocations: 0 / 387.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001398/0.1128, allocations: 452.9 kB / 387.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/0.1129, allocations: 132.5 kB / 387.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1132, allocations: 237.7 kB / 388 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1132, allocations: 37.67 kB / 388 MB, free: 6.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1133, allocations: 172.6 kB / 388.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/0.1134, allocations: 75.38 kB / 388.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.1135, allocations: 49.7 kB / 388.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1137, allocations: 330.8 kB / 388.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.1138, allocations: 71.97 kB / 388.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.114, allocations: 180.5 kB / 388.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1144, allocations: 176 kB / 389 MB, free: 5.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1144, allocations: 0 / 389 MB, free: 5.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005391/0.1149, allocations: 286.2 kB / 389.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1149, allocations: 7.938 kB / 389.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1149, allocations: 3.938 kB / 389.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.1153, allocations: 92.8 kB / 389.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1154, allocations: 27.92 kB / 389.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.1177, allocations: 1.985 MB / 391.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.1179, allocations: 31.97 kB / 391.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.118, allocations: 15.98 kB / 391.5 MB, free: 2.594 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.0001604/0.1181, allocations: 146.7 kB / 391.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.1182, allocations: 27.81 kB / 391.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.1182, allocations: 38.19 kB / 391.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1182, allocations: 7.938 kB / 391.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1182, allocations: 0 / 391.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1182, allocations: 0 / 391.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.1192, allocations: 0.6593 MB / 392.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1192, allocations: 0 / 392.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.1193, allocations: 23.98 kB / 392.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/0.1196, allocations: 84.75 kB / 392.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1196, allocations: 8 kB / 392.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.1219, allocations: 1.997 MB / 394.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1219, allocations: 3.938 kB / 394.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007177/0.1226, allocations: 445.6 kB / 394.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1227, allocations: 47.8 kB / 395 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.1227, allocations: 4 kB / 395 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.123, allocations: 24.11 kB / 395 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.1231, allocations: 35.88 kB / 395 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1231, allocations: 8 kB / 395 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1232, allocations: 165.2 kB / 395.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1232, allocations: 0 / 395.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004565/0.1237, allocations: 95.89 kB / 395.3 MB, free: 14.61 MB / 366.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.0001155/0.1238, allocations: 106.3 kB / 395.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006879/0.1245, allocations: 358.2 kB / 395.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1245, allocations: 112 / 395.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.1249, allocations: 250.6 kB / 396 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1253, allocations: 63.45 kB / 396 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1265, allocations: 0.5944 MB / 396.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.1266, allocations: 163.4 kB / 396.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.098e-05/0.1267, allocations: 14.3 kB / 396.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.1268, allocations: 20.5 kB / 396.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1268, allocations: 4 kB / 396.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.009542/0.1363, allocations: 4.541 MB / 401.4 MB, free: 8.535 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.3853922170819715]