Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001644/0.001644, allocations: 119.8 kB / 18.45 MB, free: 4.457 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.00212/0.00212, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.491/1.491, allocations: 207.6 MB / 231.8 MB, free: 4.004 MB / 174.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [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.001706/0.001706, allocations: 52.2 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1101, allocations: 49.12 MB / 391.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005584/0.1156, allocations: 3.953 MB / 395.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.118, allocations: 1.356 MB / 396.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.1182, allocations: 11.94 kB / 396.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008005/0.119, allocations: 262.8 kB / 397 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005553/0.1196, allocations: 254.3 kB / 397.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.1203, allocations: 263.4 kB / 397.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009096/0.1212, allocations: 0.7084 MB / 398.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.1215, allocations: 124.9 kB / 398.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.1219, allocations: 283 kB / 398.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/0.1223, allocations: 302.7 kB / 398.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.695e-05/0.1224, allocations: 52 kB / 398.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.1226, allocations: 99.91 kB / 399 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.1228, allocations: 147.5 kB / 399.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.1231, allocations: 294.4 kB / 399.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009587/0.1241, allocations: 0.708 MB / 400.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1241, allocations: 0 / 400.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1241, allocations: 0 / 400.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1241, allocations: 8 kB / 400.2 MB, free: 15.9 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001802/0.1259, allocations: 0.9524 MB / 401.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1259, allocations: 12.03 kB / 401.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.223e-05/0.126, allocations: 78.66 kB / 401.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1261, allocations: 76.5 kB / 401.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.1268, allocations: 411.2 kB / 401.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.1268, allocations: 41.36 kB / 401.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.1269, allocations: 39.94 kB / 401.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.1276, allocations: 437.5 kB / 402.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1276, allocations: 0 / 402.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.1277, allocations: 20 kB / 402.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.1277, allocations: 8 kB / 402.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.1283, allocations: 319.8 kB / 402.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.1309, allocations: 1.695 MB / 404.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/0.1316, allocations: 335.1 kB / 404.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.1319, allocations: 160.7 kB / 404.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.1319, allocations: 11.98 kB / 404.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.1324, allocations: 254.4 kB / 405 MB, free: 10.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.1324, allocations: 0 / 405 MB, free: 10.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002219/0.1346, allocations: 1.013 MB / 406 MB, free: 9.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.1348, allocations: 187.9 kB / 406.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.1354, allocations: 0.4902 MB / 406.6 MB, free: 9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.1354, allocations: 33.7 kB / 406.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.1356, allocations: 260.7 kB / 406.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1357, allocations: 123 kB / 407.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.1359, allocations: 78.14 kB / 407.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.136, allocations: 366.8 kB / 407.5 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.1363, allocations: 124.8 kB / 407.6 MB, free: 8.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.1367, allocations: 221.2 kB / 407.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.1371, allocations: 265.1 kB / 408.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1371, allocations: 4 kB / 408.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000834/0.138, allocations: 477 kB / 408.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.138, allocations: 4 kB / 408.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.138, allocations: 0 / 408.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005118/0.1385, allocations: 159.3 kB / 408.7 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.1387, allocations: 55.91 kB / 408.8 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/0.1444, allocations: 6.651 MB / 415.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.1448, allocations: 47.77 kB / 415.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.1448, allocations: 16 kB / 415.5 MB, free: 15.5 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: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002726/0.1451, allocations: 196.2 kB / 415.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-05/0.1452, allocations: 59.61 kB / 415.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1453, allocations: 56.77 kB / 415.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1453, allocations: 4 kB / 415.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1453, allocations: 3.938 kB / 415.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1453, allocations: 3.984 kB / 415.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.1458, allocations: 493.1 kB / 416.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1458, allocations: 3.938 kB / 416.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.146, allocations: 27.97 kB / 416.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004216/0.1464, allocations: 159.3 kB / 416.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.1464, allocations: 11.98 kB / 416.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005289/0.1517, allocations: 6.352 MB / 422.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1517, allocations: 7.969 kB / 422.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.1527, allocations: 0.4971 MB / 423.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.1529, allocations: 164.8 kB / 423.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.153, allocations: 12 kB / 423.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1533, allocations: 31.97 kB / 423.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.1534, allocations: 43.94 kB / 423.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.1534, allocations: 19.98 kB / 423.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000422/0.1538, allocations: 367 kB / 424 MB, free: 6.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1538, allocations: 0 / 424 MB, free: 6.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007457/0.1546, allocations: 167.7 kB / 424.1 MB, free: 6.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002666/0.1573, allocations: 1.358 MB / 425.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.1585, allocations: 0.7957 MB / 426.3 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1585, allocations: 0 / 426.3 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007369/0.1592, allocations: 0.6393 MB / 426.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.1597, allocations: 121.7 kB / 427 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.1658, allocations: 4.244 MB / 431.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.1663, allocations: 0.8712 MB / 432.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.1665, allocations: 48.16 kB / 432.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.1667, allocations: 167.4 kB / 432.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1667, allocations: 0 / 432.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05564/0.2224, allocations: 14.51 MB / 446.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/12.97, allocations: 15.8 kB / 446.9 MB, free: 15.01 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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: 15.68995008058846]