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.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.0008535/0.0008535, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003817/0.003817, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.8223/0.8223, allocations: 158.6 MB / 186.5 MB, free: 3.031 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: "" <> 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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.359e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.1582/0.1583, allocations: 3.586 MB / 302 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1605, allocations: 1.306 MB / 303.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.1609, allocations: 11.03 kB / 303.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.1616, allocations: 261.9 kB / 303.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005248/0.1621, allocations: 272.3 kB / 303.9 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.1628, allocations: 265.8 kB / 304.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00063/0.1634, allocations: 0.7369 MB / 304.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.1636, allocations: 116.6 kB / 305 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.164, allocations: 394.8 kB / 305.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1643, allocations: 244.9 kB / 305.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.1644, allocations: 51.06 kB / 305.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.1645, allocations: 99.02 kB / 305.8 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1647, allocations: 148.4 kB / 305.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.1649, allocations: 202 kB / 306.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.1656, allocations: 0.7267 MB / 306.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1656, allocations: 0 / 306.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1656, allocations: 1.062 kB / 306.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1656, allocations: 1.312 kB / 306.8 MB, free: 11.99 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00118/0.1668, allocations: 0.875 MB / 307.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1668, allocations: 14.23 kB / 307.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.66e-05/0.1669, allocations: 86.25 kB / 307.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/0.167, allocations: 68.83 kB / 307.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.1674, allocations: 357 kB / 308.2 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.1674, allocations: 31.03 kB / 308.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.1674, allocations: 37.56 kB / 308.3 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.1679, allocations: 0.5274 MB / 308.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.168, allocations: 0.9375 kB / 308.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.168, allocations: 21.19 kB / 308.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.168, allocations: 16.77 kB / 308.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.1684, allocations: 315.3 kB / 309.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.1699, allocations: 1.542 MB / 310.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.1704, allocations: 336.3 kB / 311 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.1707, allocations: 158.4 kB / 311.2 MB, free: 9.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1707, allocations: 8.094 kB / 311.2 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003359/0.171, allocations: 369.6 kB / 311.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 1.804e-06/0.171, allocations: 0 / 311.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001319/0.1724, allocations: 0.7148 MB / 312.3 MB, free: 8.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1724, allocations: 160.8 kB / 312.4 MB, free: 8.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.1729, allocations: 0.4951 MB / 312.9 MB, free: 8.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1729, allocations: 40.33 kB / 313 MB, free: 8.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.173, allocations: 255 kB / 313.2 MB, free: 7.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.1731, allocations: 128 kB / 313.3 MB, free: 7.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-05/0.1732, allocations: 74.91 kB / 313.4 MB, free: 7.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.1732, allocations: 361.4 kB / 313.8 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.1734, allocations: 122.8 kB / 313.9 MB, free: 7.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1736, allocations: 336.2 kB / 314.2 MB, free: 7.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.1739, allocations: 275.5 kB / 314.5 MB, free: 7.016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1739, allocations: 4.562 kB / 314.5 MB, free: 7.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005305/0.1744, allocations: 477.3 kB / 314.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.1745, allocations: 5.688 kB / 314.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1745, allocations: 1.125 kB / 314.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.1749, allocations: 162.8 kB / 315.1 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.175, allocations: 49.28 kB / 315.2 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.1779, allocations: 6.207 MB / 321.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.1783, allocations: 50.47 kB / 321.4 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.1783, allocations: 13.69 kB / 321.4 MB, free: 0.7383 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: 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.0002604/0.1786, allocations: 191.5 kB / 321.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.1786, allocations: 53.69 kB / 321.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007087/0.1793, allocations: 0.4972 MB / 322.2 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1793, allocations: 4.438 kB / 322.2 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1793, allocations: 1.188 kB / 322.2 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1793, allocations: 2.156 kB / 322.2 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.1798, allocations: 421.2 kB / 322.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1798, allocations: 0.6094 kB / 322.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.1799, allocations: 30.58 kB / 322.6 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000347/0.1802, allocations: 163.5 kB / 322.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.1803, allocations: 10.98 kB / 322.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.184, allocations: 5.903 MB / 328.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.184, allocations: 6.062 kB / 328.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.1848, allocations: 0.5046 MB / 329.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.1849, allocations: 84.41 kB / 329.3 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.185, allocations: 12.69 kB / 329.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1851, allocations: 27.39 kB / 329.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.1852, allocations: 64.2 kB / 329.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.1853, allocations: 9.453 kB / 329.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003921/0.1857, allocations: 361.1 kB / 329.7 MB, free: 9.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1857, allocations: 0 / 329.7 MB, free: 9.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006729/0.1863, allocations: 172.8 kB / 329.9 MB, free: 9.758 MB / 298.7 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,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * 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.001771/0.1881, allocations: 1.399 MB / 331.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.1893, allocations: 0.8021 MB / 332.1 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1893, allocations: 1.375 kB / 332.1 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.1899, allocations: 0.6495 MB / 332.8 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.1904, allocations: 122.8 kB / 332.9 MB, free: 7.496 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.1956, allocations: 4.26 MB / 337.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1958, allocations: 267.6 kB / 337.4 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.1961, allocations: 51.03 kB / 337.4 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.1963, allocations: 166.8 kB / 337.6 MB, free: 4.578 MB / 298.7 MB Notification: Performance of SimCode: time 1.683e-06/0.1963, allocations: 0 / 337.6 MB, free: 4.578 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.2277, allocations: 15.38 MB / 353 MB, free: 6.199 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.216, allocations: 3.953 kB / 353 MB, free: 6.195 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.854703521355987]