Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004779/0.0004779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.01276/0.01324, allocations: 0 / 0, free: 0 / 0 " [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.000302/0.000302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006424/0.0009444, allocations: 0 / 0, free: 0 / 0 " [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.4596/0.4596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1802/0.6397, allocations: 0 / 0, free: 0 / 0 " [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: simulate(Modelica.Electrical.Digital.Examples.WiredX,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=5017,outputFormat="mat",variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") simulate(Modelica.Electrical.Digital.Examples.WiredX,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=5017,outputFormat="mat",variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 6.41e-07/6.41e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.694e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00255/0.002567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.03063/0.0332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.03328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 8.937e-05/0.03337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.0335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.03378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002903/0.03407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.03415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0009967/0.03515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.0353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.03534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 3.554e-05/0.03537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.0355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.03562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.03612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.681e-05/0.03617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.074e-06/0.03618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.024e-05/0.03619, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001556/0.03774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.563e-05/0.03782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.03795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.03826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.0383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.03836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.03881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.03881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/0.03886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.03886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.03903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.04035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.04057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.04072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.603e-06/0.04072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.04105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=29): time 3.506e-06/0.04105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=29): time 0.0006339/0.04168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.04177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.04288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.04295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.04301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 8.301e-05/0.04309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.04329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.507e-05/0.04332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.04347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.04363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.04396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.04396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004204/0.04438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.04445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.04446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.04447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.574e-05/0.0445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.04451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.04467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.04482, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007089/0.04553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.04562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.04604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.04604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.04605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.04605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.04738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.04739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.04741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/0.0481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.04811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/0.04845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.04845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.04845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.04923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.04942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.04961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.04976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.000606/0.05036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.209e-05/0.05039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005098/0.0509, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/0.05114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006157/0.05176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.485e-05/0.05177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.05208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/0.05287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.05535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.05562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004266/0.05605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008768/0.05693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.805e-05/0.05697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.07685/0.1338, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.484781688079238]