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.001395/0.001395, allocations: 77.78 kB / 21.25 MB, free: 0.5469 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.00152/0.00152, allocations: 159.4 kB / 24.5 MB, free: 3.719 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.482/1.482, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.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.002075/0.002075, allocations: 65.67 kB / 325.5 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09636/0.09843, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004522/0.103, allocations: 2.757 MB / 381.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1046, allocations: 0.7673 MB / 382.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.1048, allocations: 7.938 kB / 382.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.1051, allocations: 47.5 kB / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1053, allocations: 103.1 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.1058, allocations: 111.8 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000587/0.1064, allocations: 418.3 kB / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.1066, allocations: 83.69 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.1069, allocations: 163.4 kB / 383.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1072, allocations: 143.3 kB / 383.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.1073, allocations: 40 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1074, allocations: 44 kB / 383.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.1075, allocations: 83.69 kB / 383.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.1077, allocations: 139.4 kB / 383.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.1082, allocations: 442.3 kB / 384.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1082, allocations: 0 / 384.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1082, allocations: 0 / 384.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.1082, allocations: 0 / 384.2 MB, free: 10.11 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.001129/0.1094, allocations: 0.5567 MB / 384.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1094, allocations: 11.98 kB / 384.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.1096, allocations: 52.62 kB / 384.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.11, allocations: 235.1 kB / 385.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.11, allocations: 16.88 kB / 385.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.1101, allocations: 28.38 kB / 385.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.1106, allocations: 343.3 kB / 385.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1106, allocations: 0 / 385.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1107, allocations: 12 kB / 385.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1107, allocations: 8 kB / 385.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.1111, allocations: 201.9 kB / 385.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.1127, allocations: 0.9896 MB / 386.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.1132, allocations: 194.6 kB / 386.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.1135, allocations: 128.8 kB / 387 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1135, allocations: 4 kB / 387 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.1138, allocations: 222.1 kB / 387.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.1138, allocations: 0 / 387.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001369/0.1151, allocations: 449 kB / 387.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.1152, allocations: 132.5 kB / 387.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1155, allocations: 237.7 kB / 388 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.1155, allocations: 29.7 kB / 388 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1157, allocations: 176.6 kB / 388.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.1157, allocations: 75.38 kB / 388.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.1158, allocations: 49.7 kB / 388.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.116, allocations: 326.8 kB / 388.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.1161, allocations: 71.97 kB / 388.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.1163, allocations: 188.5 kB / 388.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.1167, allocations: 175.9 kB / 389.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1167, allocations: 0 / 389.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005152/0.1172, allocations: 278.2 kB / 389.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1172, allocations: 10.59 kB / 389.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1172, allocations: 8.125 kB / 389.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.1176, allocations: 96.72 kB / 389.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1177, allocations: 27.98 kB / 389.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.1203, allocations: 1.985 MB / 391.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.1205, allocations: 31.91 kB / 391.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.1206, allocations: 8 kB / 391.5 MB, free: 2.41 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.0001777/0.1207, allocations: 149.7 kB / 391.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.1208, allocations: 27.81 kB / 391.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.1208, allocations: 30.27 kB / 391.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1209, allocations: 12 kB / 391.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1209, allocations: 0 / 391.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1209, allocations: 0 / 391.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000963/0.1218, allocations: 0.6554 MB / 392.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1218, allocations: 0 / 392.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.122, allocations: 23.92 kB / 392.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/0.1222, allocations: 96.78 kB / 392.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1222, allocations: 4 kB / 392.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.1245, allocations: 2.005 MB / 394.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.1245, allocations: 3.938 kB / 394.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006669/0.1252, allocations: 447 kB / 394.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1253, allocations: 47.83 kB / 395 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.1253, allocations: 8 kB / 395 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.1255, allocations: 15.98 kB / 395 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.1256, allocations: 35.88 kB / 395 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1257, allocations: 11.98 kB / 395.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.1258, allocations: 169.2 kB / 395.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1258, allocations: 3.938 kB / 395.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.1263, allocations: 87.89 kB / 395.3 MB, free: 14.42 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.0001304/0.1264, allocations: 107.2 kB / 395.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006798/0.1271, allocations: 350.3 kB / 395.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1271, allocations: 0 / 395.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.1275, allocations: 258.7 kB / 396 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1279, allocations: 44.47 kB / 396.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1291, allocations: 0.6002 MB / 396.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.1292, allocations: 163.5 kB / 396.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.338e-05/0.1293, allocations: 22.28 kB / 396.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.1294, allocations: 20.5 kB / 396.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1294, allocations: 0 / 396.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of Templates: time 0.00914/0.1385, allocations: 4.537 MB / 401.4 MB, free: 8.336 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 -s ida -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/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_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.546361270942725]