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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 188.6 kB / 22.93 MB, free: 5.582 MB / 14.72 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 1.745/1.745, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 51.92 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3782, allocations: 49.12 MB / 394.5 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004978/0.3831, allocations: 2.905 MB / 397.4 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3855, allocations: 0.7819 MB / 398.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.3858, allocations: 4.562 kB / 398.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.3861, allocations: 51.58 kB / 398.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.3863, allocations: 105.2 kB / 398.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.3868, allocations: 102.2 kB / 398.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.3873, allocations: 412.5 kB / 398.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.3876, allocations: 96.3 kB / 399 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.3879, allocations: 152 kB / 399.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.3881, allocations: 160.4 kB / 399.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.3882, allocations: 37 kB / 399.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.3883, allocations: 37.72 kB / 399.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.3884, allocations: 77.52 kB / 399.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.3886, allocations: 185.6 kB / 399.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006286/0.3892, allocations: 428.7 kB / 400 MB, free: 5.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3892, allocations: 0 / 400 MB, free: 5.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3892, allocations: 0 / 400 MB, free: 5.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.3893, allocations: 1.406 kB / 400 MB, free: 5.875 MB / 318.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.001249/0.3905, allocations: 0.6266 MB / 400.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.721e-05/0.3906, allocations: 9.656 kB / 400.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.3907, allocations: 47.67 kB / 400.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/0.3914, allocations: 291.3 kB / 401 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.3914, allocations: 19.28 kB / 401 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/0.3915, allocations: 24.53 kB / 401 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/0.3923, allocations: 299.3 kB / 401.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3923, allocations: 0 / 401.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.3923, allocations: 11.16 kB / 401.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.3923, allocations: 10.44 kB / 401.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.3928, allocations: 198.8 kB / 401.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.395, allocations: 1.144 MB / 402.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.3956, allocations: 202.9 kB / 402.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.396, allocations: 122.8 kB / 403 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.396, allocations: 1.438 kB / 403 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.3963, allocations: 175.8 kB / 403.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.3963, allocations: 0 / 403.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.00155/0.3979, allocations: 0.5004 MB / 403.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.398, allocations: 140.4 kB / 403.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.3983, allocations: 244.8 kB / 404 MB, free: 3.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3983, allocations: 29.47 kB / 404.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3985, allocations: 174 kB / 404.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/0.3986, allocations: 69.8 kB / 404.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3987, allocations: 59.44 kB / 404.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3988, allocations: 332.4 kB / 404.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.399, allocations: 70.84 kB / 404.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.3992, allocations: 118.4 kB / 404.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.3995, allocations: 173.1 kB / 405 MB, free: 2.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3995, allocations: 0 / 405 MB, free: 2.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005944/0.4001, allocations: 290.6 kB / 405.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4002, allocations: 5.438 kB / 405.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.4002, allocations: 2.375 kB / 405.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004343/0.4006, allocations: 103 kB / 405.4 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.4008, allocations: 29.42 kB / 405.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.4035, allocations: 2.139 MB / 407.6 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.4038, allocations: 36.45 kB / 407.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.4038, allocations: 10.16 kB / 407.7 MB, free: 244 kB / 318.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.0002553/0.4041, allocations: 147.9 kB / 407.8 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.4041, allocations: 28.17 kB / 407.8 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.4042, allocations: 30.92 kB / 407.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4042, allocations: 2.75 kB / 407.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.4042, allocations: 2.031 kB / 407.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4042, allocations: 8.75 kB / 407.9 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.4056, allocations: 0.7736 MB / 408.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4056, allocations: 1.344 kB / 408.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.4057, allocations: 22.19 kB / 408.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.4061, allocations: 89.78 kB / 408.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.4061, allocations: 6.797 kB / 408.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.4089, allocations: 2.14 MB / 410.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4089, allocations: 1.375 kB / 410.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007925/0.4097, allocations: 446 kB / 411.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.4099, allocations: 123.2 kB / 411.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.4099, allocations: 6 kB / 411.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.4101, allocations: 18.44 kB / 411.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.4103, allocations: 34.62 kB / 411.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.4103, allocations: 5.375 kB / 411.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.4105, allocations: 173.7 kB / 411.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4105, allocations: 4 kB / 411.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006444/0.4112, allocations: 101.3 kB / 411.8 MB, free: 13.02 MB / 334.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.0002056/0.4114, allocations: 103.5 kB / 411.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.4124, allocations: 349.7 kB / 412.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4124, allocations: 4.188 kB / 412.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005243/0.4129, allocations: 256.9 kB / 412.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.4135, allocations: 70.03 kB / 412.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.4151, allocations: 0.6116 MB / 413.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/0.4158, allocations: 0.7641 MB / 413.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.416, allocations: 25.62 kB / 414 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.4161, allocations: 18.7 kB / 414 MB, free: 11.41 MB / 334.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4161, allocations: 1 kB / 414 MB, free: 11.41 MB / 334.1 MB Notification: Performance of Templates: time 0.01465/0.4307, allocations: 5.044 MB / 419 MB, free: 8.961 MB / 334.1 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: 5.708131747320294]