Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.001771/0.001771, allocations: 113 kB / 19.04 MB, free: 3.254 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.002053/0.002053, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 55.91 kB / 368.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3197, allocations: 52.13 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005092/0.3248, allocations: 3.514 MB / 424.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3262, allocations: 0.7532 MB / 425.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3264, allocations: 11.94 kB / 425.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.3266, allocations: 63.36 kB / 425.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.3269, allocations: 138.8 kB / 425.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.3272, allocations: 107.8 kB / 425.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005704/0.3278, allocations: 0.4978 MB / 426 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.328, allocations: 99.23 kB / 426.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.3282, allocations: 191.3 kB / 426.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.3286, allocations: 211.1 kB / 426.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.3286, allocations: 43.98 kB / 426.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.3287, allocations: 36 kB / 426.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.3288, allocations: 91.62 kB / 426.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.329, allocations: 222.9 kB / 426.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005674/0.3296, allocations: 493.6 kB / 427.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3296, allocations: 0 / 427.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3296, allocations: 0 / 427.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.3296, allocations: 0 / 427.3 MB, free: 8.609 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001206/0.3308, allocations: 0.7281 MB / 428 MB, free: 7.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3308, allocations: 19.83 kB / 428.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.331, allocations: 56.61 kB / 428.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.3314, allocations: 315.5 kB / 428.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3315, allocations: 29.03 kB / 428.5 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.3315, allocations: 40.3 kB / 428.5 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/0.3322, allocations: 359.1 kB / 428.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3322, allocations: 0 / 428.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.3323, allocations: 15.98 kB / 428.9 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.3323, allocations: 8 kB / 428.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006407/0.3329, allocations: 266.4 kB / 429.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.3351, allocations: 1.407 MB / 430.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.3355, allocations: 202.4 kB / 430.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.3357, allocations: 100.8 kB / 430.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.3357, allocations: 4 kB / 430.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.3358, allocations: 34.56 kB / 430.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/0.3358, allocations: 0 / 430.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001649/0.3374, allocations: 0.694 MB / 431.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.3375, allocations: 59.34 kB / 431.6 MB, free: 4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.3379, allocations: 312.5 kB / 431.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3379, allocations: 29.7 kB / 432 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3381, allocations: 212.5 kB / 432.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.3382, allocations: 91.31 kB / 432.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.3383, allocations: 45.7 kB / 432.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3384, allocations: 338.8 kB / 432.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.3386, allocations: 75.95 kB / 432.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.3389, allocations: 128.2 kB / 432.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.3393, allocations: 200.1 kB / 433 MB, free: 2.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3393, allocations: 0 / 433 MB, free: 2.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007813/0.3401, allocations: 355.7 kB / 433.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3401, allocations: 4 kB / 433.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3401, allocations: 4 kB / 433.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004372/0.3405, allocations: 114.4 kB / 433.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.3407, allocations: 35.97 kB / 433.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/0.3457, allocations: 4.975 MB / 438.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.346, allocations: 27.91 kB / 438.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.346, allocations: 4 kB / 438.5 MB, free: 12.58 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.3462, allocations: 149.7 kB / 438.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.3463, allocations: 43.64 kB / 438.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.3464, allocations: 47.22 kB / 438.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3464, allocations: 4 kB / 438.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3464, allocations: 0 / 438.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3464, allocations: 96 / 438.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.3468, allocations: 381.2 kB / 439.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3468, allocations: 3.984 kB / 439.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.347, allocations: 19.98 kB / 439.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.3473, allocations: 118.4 kB / 439.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.3473, allocations: 12 kB / 439.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00455/0.3519, allocations: 4.959 MB / 444.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3519, allocations: 0 / 444.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.3525, allocations: 393.6 kB / 444.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.3527, allocations: 140.8 kB / 444.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.3528, allocations: 4 kB / 444.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.353, allocations: 19.98 kB / 444.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.3531, allocations: 24.25 kB / 444.8 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.3531, allocations: 7.938 kB / 444.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002541/0.3534, allocations: 219.1 kB / 445 MB, free: 5.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3534, allocations: 3.938 kB / 445 MB, free: 5.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006834/0.354, allocations: 111.9 kB / 445.2 MB, free: 5.422 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: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001905/0.3542, allocations: 119.1 kB / 445.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3553, allocations: 0.5622 MB / 445.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3553, allocations: 0 / 445.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.3559, allocations: 478.5 kB / 446.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3563, allocations: 57.25 kB / 446.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.358, allocations: 0.6223 MB / 447 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.3586, allocations: 0.8029 MB / 447.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.3587, allocations: 31 kB / 447.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.3587, allocations: 23.44 kB / 447.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3587, allocations: 0 / 447.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of Templates: time 0.01193/0.3707, allocations: 5.604 MB / 453.4 MB, free: 13.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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: 5.299554414115846]