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.001644/0.001644, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001948/0.001948, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.455/1.455, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 52.25 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2914, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003477/0.2949, allocations: 2.903 MB / 399.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.296, allocations: 0.7812 MB / 400 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.2962, allocations: 4.406 kB / 400 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.2964, allocations: 47.52 kB / 400.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.2966, allocations: 106.8 kB / 400.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.2968, allocations: 105.3 kB / 400.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.2972, allocations: 407.3 kB / 400.7 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.2975, allocations: 110 kB / 400.8 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.2977, allocations: 157.7 kB / 400.9 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.2979, allocations: 160.9 kB / 401.1 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.298, allocations: 36.53 kB / 401.1 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.298, allocations: 41.09 kB / 401.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.2981, allocations: 78.33 kB / 401.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.2983, allocations: 180 kB / 401.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.2988, allocations: 432.7 kB / 401.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2988, allocations: 0 / 401.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2988, allocations: 1.156 kB / 401.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2988, allocations: 0 / 401.9 MB, free: 5.438 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.0009444/0.2998, allocations: 0.5442 MB / 402.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2998, allocations: 14.11 kB / 402.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.229e-05/0.2999, allocations: 61.58 kB / 402.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.2999, allocations: 39.05 kB / 402.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.3003, allocations: 230.8 kB / 402.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.3003, allocations: 23.69 kB / 402.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.3004, allocations: 24.86 kB / 402.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.3009, allocations: 295 kB / 403.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3009, allocations: 4 kB / 403.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.3009, allocations: 11.12 kB / 403.1 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3009, allocations: 5.625 kB / 403.1 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.3013, allocations: 203.6 kB / 403.3 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.3028, allocations: 1.114 MB / 404.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.3033, allocations: 191.6 kB / 404.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.3035, allocations: 124 kB / 404.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3036, allocations: 6.25 kB / 404.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.3038, allocations: 165.6 kB / 404.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.3038, allocations: 1.25 kB / 404.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001495/0.3053, allocations: 438.9 kB / 405.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3054, allocations: 137.4 kB / 405.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.3056, allocations: 247.9 kB / 405.7 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3057, allocations: 32.45 kB / 405.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.3057, allocations: 170.3 kB / 405.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.3058, allocations: 74.56 kB / 406 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.3059, allocations: 51.62 kB / 406 MB, free: 2.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.306, allocations: 335 kB / 406.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.3061, allocations: 67.62 kB / 406.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.3063, allocations: 127.5 kB / 406.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.3065, allocations: 167.5 kB / 406.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3065, allocations: 0 / 406.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004584/0.307, allocations: 287 kB / 407 MB, free: 1.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.307, allocations: 14.72 kB / 407 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.307, allocations: 0.7031 kB / 407 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/0.3074, allocations: 91.09 kB / 407.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.3075, allocations: 29.88 kB / 407.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.3094, allocations: 2.039 MB / 409.1 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.3097, allocations: 28.25 kB / 409.2 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.3097, allocations: 7.578 kB / 409.2 MB, free: 192 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.0001416/0.3098, allocations: 150.4 kB / 409.3 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.3099, allocations: 32.83 kB / 409.4 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.3099, allocations: 34.77 kB / 409.4 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3099, allocations: 6.688 kB / 409.4 MB, free: 0 / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3099, allocations: 1.375 kB / 409.4 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.3099, allocations: 2.688 kB / 409.4 MB, free: 0 / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.3111, allocations: 0.7407 MB / 410.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3111, allocations: 0 / 410.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3113, allocations: 20.34 kB / 410.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/0.3115, allocations: 96.42 kB / 410.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3116, allocations: 2.828 kB / 410.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002721/0.3143, allocations: 2.037 MB / 412.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.3143, allocations: 3.938 kB / 412.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/0.3152, allocations: 449.3 kB / 412.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.3153, allocations: 45.23 kB / 412.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.3154, allocations: 6.797 kB / 412.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3156, allocations: 18.52 kB / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3157, allocations: 31.2 kB / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.3157, allocations: 13.75 kB / 412.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.316, allocations: 173.8 kB / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.316, allocations: 0 / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005778/0.3165, allocations: 92.91 kB / 413.1 MB, free: 13.22 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.001497/0.318, allocations: 0.9902 MB / 414.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000936/0.319, allocations: 349.9 kB / 414.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.319, allocations: 1.469 kB / 414.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.3195, allocations: 260.3 kB / 414.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.32, allocations: 58.02 kB / 414.8 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/0.3253, allocations: 2.767 MB / 417.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.3259, allocations: 0.7655 MB / 418.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.3261, allocations: 21.03 kB / 418.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.3262, allocations: 80.94 kB / 418.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.615e-06/0.3262, allocations: 5.625 kB / 418.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.3687, allocations: 7.826 MB / 426.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.12, allocations: 15.91 kB / 426.2 MB, free: 4.559 MB / 334.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039604 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/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] "Error: Could not read variable idealTriac.idealThyristor.off in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv. Warning: Get data of variable idealTriac.idealThyristor.off from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv failed! Error: Could not read variable idealTriac.idealThyristor1.off in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv. Warning: Get data of variable idealTriac.idealThyristor1.off from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.715101989000686]