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.0002284/0.0002284, 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.0002453/0.0002453, 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.04996/0.04996, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 -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 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.71e-07/7.71e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.553e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002188/0.002204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002698/0.004901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 8.053e-05/0.004982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.005095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.005227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.005512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0003001/0.005812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 8.981e-05/0.005902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008573/0.006759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.006904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.006952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 3.747e-05/0.00699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.007119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.00725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.007855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.167e-05/0.007907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.633e-06/0.007909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.774e-06/0.007916, 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.001136/0.009052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.268e-05/0.009135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.009283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.009614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.009669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.009736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.01023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.01024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.0103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.0103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.01049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009798/0.01147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.01169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.01185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.01186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000338/0.0122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=29): time 3.968e-06/0.0122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=29): time 0.0007026/0.01291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.01297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.01414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 8.412e-05/0.01422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.01427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.01436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.01457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.09e-05/0.01459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.01476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.01493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.01529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004654/0.01576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.01584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.01589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.0159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.01607, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.01623, 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.000803/0.01703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.01714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.01761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.01762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.01882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.01885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.133e-05/0.01891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.01892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.01948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0007658/0.02025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.02047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.02066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.02082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.02097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006366/0.02161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.151e-05/0.02163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005315/0.02216, 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.0002077/0.02237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0005859/0.02295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.02296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.0233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008769/0.02418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.02653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.02682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004497/0.02727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009159/0.02818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.493e-05/0.02821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002331/0.03054, 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.7086152555420995]