Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.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.001803/0.001803, allocations: 83.17 kB / 21.99 MB, free: 5.168 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.002163/0.002163, allocations: 166.3 kB / 25.25 MB, free: 3.031 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.379/1.379, allocations: 158.6 MB / 187 MB, free: 6.25 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.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: translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor") translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor") [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.001863/0.001863, allocations: 58.73 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2042, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01345/0.2177, allocations: 11.42 MB / 359.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02241/0.2401, allocations: 16.73 MB / 376.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.2422, allocations: 193.8 kB / 376.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.2451, allocations: 1.003 MB / 377.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006894/0.252, allocations: 2.289 MB / 380.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004157/0.2561, allocations: 1.36 MB / 381.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.2667, allocations: 6.345 MB / 387.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006541/0.2673, allocations: 249.1 kB / 388.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.2691, allocations: 1.038 MB / 389.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.2706, allocations: 1.017 MB / 390.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.2708, allocations: 76 kB / 390.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003655/0.2744, allocations: 1.089 MB / 391.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.2748, allocations: 321.7 kB / 391.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.276, allocations: 0.9818 MB / 392.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005819/0.2818, allocations: 3.768 MB / 396.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2818, allocations: 0 / 396.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2818, allocations: 0 / 396.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.996e-05/0.2819, allocations: 0 / 396.4 MB, free: 15.44 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.006167/0.288, allocations: 3.633 MB / 400 MB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2881, allocations: 11.98 kB / 400 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005309/0.2886, allocations: 405.5 kB / 400.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/0.2927, allocations: 2.402 MB / 402.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.2927, allocations: 44.92 kB / 402.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.2929, allocations: 48 kB / 402.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.2945, allocations: 0.7615 MB / 403.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2945, allocations: 0 / 403.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.2946, allocations: 24 kB / 403.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.2946, allocations: 23.98 kB / 403.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.2965, allocations: 0.8553 MB / 404.6 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005275/0.3018, allocations: 2.678 MB / 407.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.3036, allocations: 0.7286 MB / 408 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.3052, allocations: 0.8602 MB / 408.8 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02627/0.3314, allocations: 13.7 MB / 422.5 MB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.3327, allocations: 0.5957 MB / 423.1 MB, free: 4.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.377e-06/0.3327, allocations: 4 kB / 423.1 MB, free: 4.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.01292/0.3457, allocations: 4.525 MB / 427.6 MB, free: 15.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.3457, allocations: 64.39 kB / 427.7 MB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/0.3496, allocations: 2.721 MB / 430.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.3498, allocations: 45.69 kB / 430.5 MB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.3511, allocations: 1.308 MB / 431.8 MB, free: 11.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.3515, allocations: 357 kB / 432.1 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.3519, allocations: 234.4 kB / 432.4 MB, free: 10.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.352, allocations: 349.9 kB / 432.7 MB, free: 10.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.3534, allocations: 473.9 kB / 433.2 MB, free: 9.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.3549, allocations: 0.647 MB / 433.8 MB, free: 9.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/0.3577, allocations: 1.133 MB / 434.9 MB, free: 7.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3577, allocations: 0 / 434.9 MB, free: 7.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004428/0.3621, allocations: 1.835 MB / 436.8 MB, free: 6.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3621, allocations: 8 kB / 436.8 MB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001812/0.3623, allocations: 124 kB / 436.9 MB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007427/0.3631, allocations: 268.5 kB / 437.2 MB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.364, allocations: 195.7 kB / 437.4 MB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.3743, allocations: 12.97 MB / 450.3 MB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.3758, allocations: 92.08 kB / 450.4 MB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.3759, allocations: 60 kB / 450.5 MB, free: 7.359 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 21 (v.counter,$PRE.v.counter,vin2.counter,$PRE.vin2.counter,vin1.counter,$PRE.vin1.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin2.counter2,$PRE.vin2.counter2,vin2.T0,$PRE.vin2.T0,vin1.counter2,$PRE.vin1.counter2,vin1.T0,$PRE.vin1.T0,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008204/0.3767, allocations: 426.2 kB / 450.9 MB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.3772, allocations: 393.5 kB / 451.3 MB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/0.3822, allocations: 2.072 MB / 453.4 MB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.3822, allocations: 8 kB / 453.4 MB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.3822, allocations: 4 kB / 453.4 MB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.3823, allocations: 3.984 kB / 453.4 MB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.3842, allocations: 1.313 MB / 454.7 MB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001674/0.3843, allocations: 120 kB / 454.8 MB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/0.3851, allocations: 139.7 kB / 454.9 MB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006684/0.3858, allocations: 264.3 kB / 455.2 MB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.576e-05/0.3858, allocations: 39.98 kB / 455.2 MB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.3961, allocations: 12.97 MB / 468.2 MB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3961, allocations: 0 / 468.2 MB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/0.4019, allocations: 2.411 MB / 470.6 MB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.4029, allocations: 447.3 kB / 471.1 MB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.4032, allocations: 31.97 kB / 471.1 MB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009974/0.4042, allocations: 83.89 kB / 471.2 MB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/0.4046, allocations: 136.8 kB / 471.3 MB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.4047, allocations: 51.98 kB / 471.4 MB, free: 1.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.1658/0.5705, allocations: 1.779 MB / 473.1 MB, free: 110.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5705, allocations: 0.5312 kB / 473.1 MB, free: 110.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002095/0.5726, allocations: 0.6583 MB / 473.8 MB, free: 110.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (mp1.Dinternal,mp1.Sinternal,mp2.Dinternal,mp2.Sinternal,mn1.Dinternal,mn1.Sinternal,mn2.Dinternal,mn2.Sinternal) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 6 (vin1.counter,vin2.counter,v.counter,vin1.counter2,vin2.counter2,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/0.5737, allocations: 0.8082 MB / 474.6 MB, free: 110.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003841/0.5775, allocations: 2.447 MB / 477 MB, free: 109.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5775, allocations: 0 / 477 MB, free: 109.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002132/0.5797, allocations: 1.91 MB / 479 MB, free: 107.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.5813, allocations: 0.5213 MB / 479.5 MB, free: 107.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.5865, allocations: 4.772 MB / 484.2 MB, free: 105.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.5872, allocations: 1.114 MB / 485.4 MB, free: 105.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009218/0.5881, allocations: 394.4 kB / 485.7 MB, free: 105.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.5883, allocations: 164.4 kB / 485.9 MB, free: 105.4 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5883, allocations: 0 / 485.9 MB, free: 105.4 MB / 430.1 MB Notification: Performance of Templates: time 0.05297/0.6413, allocations: 39.25 MB / 0.5128 GB, free: 66.95 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Nor/Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.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: 6.064295536023565]