Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001186/0.001186, allocations: 87.62 kB / 22.19 MB, free: 2.363 MB / 18.57 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.001217/0.001217, allocations: 165.1 kB / 25.45 MB, free: 8.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8024/0.8024, allocations: 158.6 MB / 187.2 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] 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 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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 299.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.182e-05, allocations: 10.22 kB / 299.7 MB, free: 3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002687/0.002709, allocations: 2.673 MB / 302.4 MB, free: 312 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1228/0.1255, allocations: 0.73 MB / 303.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.1257, allocations: 4.625 kB / 303.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.1259, allocations: 58.31 kB / 303.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.126, allocations: 104.5 kB / 303.3 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1263, allocations: 108.2 kB / 303.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.1267, allocations: 420.1 kB / 303.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.1269, allocations: 84.27 kB / 303.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.1272, allocations: 230 kB / 304.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1273, allocations: 121.6 kB / 304.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.1274, allocations: 42.06 kB / 304.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.983e-05/0.1275, allocations: 36.75 kB / 304.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.1275, allocations: 81.67 kB / 304.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1276, allocations: 118.9 kB / 304.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.128, allocations: 454.1 kB / 304.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.128, allocations: 1.219 kB / 304.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.128, allocations: 0 / 304.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.128, allocations: 0 / 304.9 MB, free: 13.4 MB / 282.7 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.0006935/0.1287, allocations: 0.5443 MB / 305.5 MB, free: 12.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1288, allocations: 13.17 kB / 305.5 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.1288, allocations: 40.08 kB / 305.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1291, allocations: 226 kB / 305.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1291, allocations: 24.47 kB / 305.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.1292, allocations: 28.31 kB / 305.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.1295, allocations: 336.1 kB / 306.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1295, allocations: 192 / 306.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1296, allocations: 11.61 kB / 306.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1296, allocations: 10.31 kB / 306.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.1298, allocations: 204.8 kB / 306.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.1308, allocations: 0.9829 MB / 307.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.1311, allocations: 197.2 kB / 307.5 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.1313, allocations: 129.2 kB / 307.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1314, allocations: 5.375 kB / 307.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.1315, allocations: 220.9 kB / 307.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.172e-06/0.1316, allocations: 0 / 307.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008178/0.1324, allocations: 447.8 kB / 308.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.1324, allocations: 136.2 kB / 308.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1326, allocations: 233 kB / 308.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1326, allocations: 28.2 kB / 308.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.1327, allocations: 175.1 kB / 308.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.1327, allocations: 70.59 kB / 308.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.1328, allocations: 51.25 kB / 309 MB, free: 10.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.1328, allocations: 335.3 kB / 309.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1329, allocations: 67.3 kB / 309.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.133, allocations: 179.6 kB / 309.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.1332, allocations: 170 kB / 309.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1332, allocations: 0 / 309.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003145/0.1335, allocations: 286.8 kB / 310 MB, free: 9.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1335, allocations: 5.594 kB / 310 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1335, allocations: 1.828 kB / 310 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.1338, allocations: 102.9 kB / 310.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.1339, allocations: 25.69 kB / 310.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.1351, allocations: 2.001 MB / 312.1 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.854e-05/0.1352, allocations: 32.34 kB / 312.2 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1352, allocations: 15.58 kB / 312.2 MB, free: 8.168 MB / 282.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: 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 8.403e-05/0.1353, allocations: 142.9 kB / 312.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.1353, allocations: 23.81 kB / 312.3 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.1354, allocations: 30.66 kB / 312.4 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1354, allocations: 2.25 kB / 312.4 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.1354, allocations: 9.062 kB / 312.4 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1354, allocations: 6.438 kB / 312.4 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.1359, allocations: 0.6487 MB / 313 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1359, allocations: 0 / 313 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.136, allocations: 23.66 kB / 313.1 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.1361, allocations: 89.42 kB / 313.2 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1362, allocations: 5.766 kB / 313.2 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.1373, allocations: 1.989 MB / 315.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1373, allocations: 1.281 kB / 315.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.1377, allocations: 454 kB / 315.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.1378, allocations: 49.88 kB / 315.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1378, allocations: 5.844 kB / 315.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.1379, allocations: 18.89 kB / 315.7 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.274e-05/0.138, allocations: 36.28 kB / 315.7 MB, free: 5.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.138, allocations: 12.53 kB / 315.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.53e-05/0.1381, allocations: 165.7 kB / 315.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1381, allocations: 0 / 315.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002835/0.1383, allocations: 96.84 kB / 316 MB, free: 5.34 MB / 282.7 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 8.513e-05/0.1384, allocations: 110 kB / 316.1 MB, free: 5.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.1388, allocations: 341.8 kB / 316.4 MB, free: 5.043 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1388, allocations: 0 / 316.4 MB, free: 5.043 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.1391, allocations: 257.7 kB / 316.7 MB, free: 4.871 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.1393, allocations: 55.78 kB / 316.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.14, allocations: 0.5767 MB / 317.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.1401, allocations: 155.5 kB / 317.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.1402, allocations: 20.3 kB / 317.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1402, allocations: 3.938 kB / 317.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of Templates: time 0.005001/0.1452, allocations: 4.669 MB / 322.1 MB, free: 3.242 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.585632395930588]